Reputation: 1990
I am trying to deploy a Rails application on Elastic Beanstalk. I'd like to be able to look at my web server log files (which should be Passenger) but I don't know where to find them in my ec2 instance. I was able to SSH into the instance, but I had no luck finding the files.
Thanks
Upvotes: 6
Views: 5529
Reputation: 31
I'd like to update this info. I am using Rails 4.1, and the log files were not in these locations. Instead, they were in /var/app/containerfiles/logs
Upvotes: 3
Reputation: 250
On Elastic Beanstalk ruby container you can find your application logs (passenger.log, production.log) at /var/app/support/logs/.
The files /var/log/eb-tools.log and /var/log/cfn-init.log are also useful for debugging deployment issues.
Upvotes: 11