From: Hleb Valoshka <375gnu@gmail.com>
To: unicorn-public@bogomips.org
Subject: Re: Question: How to limit size of log & error files
Date: Fri, 24 Jul 2015 17:28:37 +0300 [thread overview]
Message-ID: <CAAB-KcmUkHVGfYL7qn1MbHgemtVwynuBw9XjqWnHua0SVn0C8Q@mail.gmail.com> (raw)
In-Reply-To: <65EB80B5926DCC4DA6C21AEC11827B7B4C01DE74@MX108CL01.corp.emc.com>
On 7/24/15, Dowd, Stephen <stephen.dowd@emc.com> wrote:
> 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"
Create 2 FIFO and forward to syslog.
next prev parent reply other threads:[~2015-07-24 14:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2015-07-24 17:13 ` Eric Wong
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=CAAB-KcmUkHVGfYL7qn1MbHgemtVwynuBw9XjqWnHua0SVn0C8Q@mail.gmail.com \
--to=375gnu@gmail.com \
--cc=unicorn-public@bogomips.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).