posted this on February 16, 2012, 10:02 AM
This page describes:
Use the following substitutions for illustration: Username: deploy Application name: myapp Environment: production
A user home directory is created for you:
If you look closely, this is actually a symlink to the persistent /data device. Therefore, you can safely store items in the home directory. You will see that your home directory symlinks to:
In the syslog you find system messages, monit restart calls, cron job notifications and various other useful bits of information.
By default, all parts of the stack are under logrotate to properly rotate and gzip old logs. The individual configuration files are found here:
If you have mongrels, your logs exist here:
If you need access to the production.log you can find it here:
We configure nginx to split access and error into two files:
Nginx configuration is symlinked from /data/nginx to /etc/nginx to ensure that it persists when the instance is shutdown.
A configuration for your application is automatically generated and you will find it here:
Monit log information is sent to the system logger. See System logger: syslog above.
Monit configuration files are located here:
If you are running a mongrel instance, you should see your monit and mongrel configurations here:
When adding additional services under monit, we recommend you create a new file ending in .monitrc according to the same naming convention. For example:
If you’d like to edit the master monit configuration, you can do so here:
Passenger 3 sends log information to:
Unicorn sends log information to three log files in the /data/myapp/current/log directory:
See Log files from Chef recipes.
If you have feedback or questions about this page, add a comment below. If you need help, submit a ticket with Engine Yard Support.
/db/mysql/log has the slow query and mysql error logs
Hey, looks like the Nginx logs are no longer contained subdirectories of the 'appname'.
A belated thanks, Joshua. Fixed. kjm
Support Software by Zendesk