Elastic Beanstalks

0

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

Thanks

質問済み 2年前237ビュー
1回答
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
回答済み 2年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ