Log File Location

Eric Wong normalperson at yhbt.net
Thu Nov 19 01:54:57 EST 2009


Michael Guterl <mguterl at gmail.com> wrote:
> On Wed, Nov 18, 2009 at 9:06 PM, Preston Marshall
> <preston at synergyeoc.com> wrote:
> > This may be a dumb question, but where can I see the error logs that are
> > usually displayed when unicorn is not daemonized?  The production.log file
> > is empty in my app.  Everything is currently running as root.
> 
> I'm not sure where the logs are directed by default, but I set their

They go to /dev/null by default when daemonizing.  But yes, it's
recommended that you configure them to something like below:

> location in my unicorn config like so:
> 
> stdout_path '/home/deploy/public_html/rm/current/log/unicorn.log'
> stderr_path '/home/deploy/public_html/rm/current/log/unicorn-error.log'


More information about the mongrel-unicorn mailing list