Elastic Beanstalks

0

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

Thanks

preguntada hace 2 años237 visualizaciones
1 Respuesta
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
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas