Elastic Beanstalks

0

How can I vew the console output for a nodejs app using docker on Elastic Beanstalks?

Thanks

asked 2 years ago232 views
1 Answer
0

You can view the logs generated by your application in the console through the Logs section of your environment. Once you click on Request Logs, you can download output from various log files. You can also use the eb logs command in the Elastic Beanstalk CLI.

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.logging.html

In a Docker environment, you should be able to see any logs sent to stdout in the /var/log/eb-docker/containers/eb-current-app/* files. If your app logs to a file, it might be worth looking into how you can extend the log configuration: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/using-features.logging.html#health-logs-extend

Ed
answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions