Reputation:
I just deployed a rails app using passenger. Now i am getting a 404 on one of the pages. I am wondering where can i get the error logs. Like the one i get on the dev envirionment when running rails s
or like the one heroku gives when issues heroku logs
.
P.S I have looked into production.log but it shows no errors
Update - This is my sample vh config and nothing is there in the error logs
<VirtualHost *:80>
ServerAdmin [email protected]
ServerName example.org
ServerAlias www.example.org
DocumentRoot /srv/www/example.org/public_html/
ErrorLog /srv/www/example.org/logs/error.log
CustomLog /srv/www/example.org/logs/access.log combined
</VirtualHost>
Thanks
Upvotes: 2
Views: 1250
Reputation: 40277
if the 404 page the Rails 404 page, or an apache/nginx 404 page? If it doesn't look like the rails 404 page, then your best bet is the apache/nginx log.
Upvotes: 2