unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: Re: Log File Location
Date: Wed, 18 Nov 2009 22:54:57 -0800	[thread overview]
Message-ID: <20091119065457.GA12592@dcvr.yhbt.net> (raw)
In-Reply-To: <944a03770911181847i20d5e886s28bf583d47a1c251@mail.gmail.com>

Michael Guterl <mguterl@gmail.com> wrote:
> On Wed, Nov 18, 2009 at 9:06 PM, Preston Marshall
> <preston@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'

      parent reply	other threads:[~2009-11-19  6:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-19  2:06 Log File Location Preston Marshall
2009-11-19  2:47 ` Michael Guterl
2009-11-19  3:25   ` Dylan Stamat
2009-11-19  6:54   ` Eric Wong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091119065457.GA12592@dcvr.yhbt.net \
    --to=normalperson@yhbt.net \
    --cc=mongrel-unicorn@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).