supervision - discussion about system services, daemon supervision, init, runlevel management, and tools such as s6 and runit
 help / color / mirror / Atom feed
From: Gerrit Pape <pape@smarden.org>
Subject: Re: svlogd: blocking on ENOSPC
Date: Tue, 2 Nov 2004 15:04:18 +0000	[thread overview]
Message-ID: <20041102150238.3135.qmail@80169e88eb932f.315fe32.mid.smarden.org> (raw)
In-Reply-To: <20041101220029.GQ32116@digitus>

On Mon, Nov 01, 2004 at 11:00:29PM +0100, Csillag Tam?s wrote:
> On 10/18, Gerrit Pape wrote:
> > Here's a patch that makes svlogd remove the oldest of rotated log
> > files in the log directory in case the disk is full.  In the worst
> > case only the current logfile will be left.  I would be interested
> > in your opinions.
> Interesting, It would be nice as a command line switch like '-d' (or
> maybe even better another line in config?) So the admin can decide
> what is more important to keep the service always up or to be sure the
> logs are preserved.
> 
> If you turn on debugging on one service (e.g. openldap) it is better
> to remove only it's logs and not the others (e.g. auth logs).
> 
> What do you think?

I think it should be a line starting with ``N'' in the config file to
optionally specify the minimum number of older log files to be kept in
case the filesystem is full.  By default it's equal to the maximum
number of files.

Regards, Gerrit.


  reply	other threads:[~2004-11-02 15:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-18 17:39 Gerrit Pape
2004-11-01 22:00 ` Csillag Tamás
2004-11-02 15:04   ` Gerrit Pape [this message]
2004-11-02 21:15     ` Csillag Tamas

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

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

  git send-email \
    --in-reply-to=20041102150238.3135.qmail@80169e88eb932f.315fe32.mid.smarden.org \
    --to=pape@smarden.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.
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 NNTP newsgroup(s).