Location of passenger log files in my ec2 instance (elastic beanstalk + rails)
Asked Answered
L

2

6

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

Lexical answered 4/2, 2013 at 4:24 Comment(0)
K
11

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.

Kendrickkendricks answered 18/2, 2013 at 15:14 Comment(0)
D
3

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

Dodi answered 28/2, 2015 at 20:27 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.