unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
* Question:  How to limit size of log & error files
@ 2015-07-24 13:54 Dowd, Stephen
  2015-07-24 14:05 ` Ben Lovell
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dowd, Stephen @ 2015-07-24 13:54 UTC (permalink / raw)
  To: unicorn-public@bogomips.org

I'd like to control the size and on disk layout of the unicorn error and output logs.   Basically I want ruby Logger like functionality where I can specify a fixed # of rolling logs each of which is limited to # mb in size.   Not sure how to do this in unicorn.rb.  

My unicorn.conf file has basically the defaults, with the exception of:

Stderr_path "/log/unicorn/stderr.log"
Stdout_path "/log/unicorn/stdout.log"


These files will grow to the point where the disk becomes full at which point we begin to see failures.   


Thanks in advance...

Steve

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

end of thread, other threads:[~2015-07-24 17:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-24 13:54 Question: How to limit size of log & error files Dowd, Stephen
2015-07-24 14:05 ` Ben Lovell
2015-07-24 14:28 ` Hleb Valoshka
2015-07-24 17:13 ` 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).