Where does Elastic Beanstalk store log output from Tomcat on each EC2 instance?
I’ve configured SSH and want to tail the log file, but don’t know where it’s located.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Something seems to have changed a bit on this, as I have a new Elastic Beanstalk application where the logs are located in:
Note that the easiest way to view stuff in here is to
sudo sufirst, as this directory is owned by root. Whereas, I have an older instance where the logs are in:I’m not sure why there is a disparity in this, as both applications use the tomcat7 container, but this seems to be the state of things to date.