unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* Reopening logs - why no relative paths?
@ 2011-03-31 17:45 Matthew Kocher
  2011-03-31 22:02 ` Eric Wong
  0 siblings, 1 reply; 3+ messages in thread
From: Matthew Kocher @ 2011-03-31 17:45 UTC (permalink / raw)
  To: mongrel-unicorn

We just spend a couple hours trying to figure out why sending a USR1
signal wasn't causing unicorn to reopen logs.  Looking at the source
reveals that only files opened with absolute paths are eligible for
rotation, the others are silently skipped.

We use the fairly standard practice of always logging to
log/unicorn.error.log and creating symlinks to where we'd like the
logs to live on individual hosts.  We'll change our configs for the
time being, but is there a reason to not reopen the relative paths?

Thanks,
Matthew
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-04-01 23:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-31 17:45 Reopening logs - why no relative paths? Matthew Kocher
2011-03-31 22:02 ` Eric Wong
2011-04-01 23:15   ` Eric Wong

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).