Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2003 11:00:23 -0800
From:      Wes Peters <wes@softweyr.com>
To:        Thomas Quinot <thomas@FreeBSD.ORG>, Gordon Tetlow <gordont@gnf.org>
Cc:        Thomas Quinot <thomas@FreeBSD.ORG>, arch@FreeBSD.ORG
Subject:   Re: syslog.conf syntax change (multiple program/host specifications)
Message-ID:  <200302141100.23529.wes@softweyr.com>
In-Reply-To: <20030213184309.GA53098@melusine.cuivre.fr.eu.org>
References:  <20030210114930.GB90800@melusine.cuivre.fr.eu.org> <20030213174531.GZ83215@roark.gnf.org> <20030213184309.GA53098@melusine.cuivre.fr.eu.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 13 February 2003 10:43, Thomas Quinot wrote:
> Le 2003-02-13, Gordon Tetlow =E9crivait :
> > it should be relatively easy to implement a log roller (or steal one).
>
> Yes, much code for that could be lifted from newsyslog presumably.

To this end I've implemented another feature, 'N' for newsyslog.
When the file size limit is reached, newsyslog is run with the=20
log filename as the only argument.  The size limitation in syslog.conf
and newsyslog.conf should agree or you won't get what you expect.

Does this seem reasonable?

Can anyone suggest a better syntax that is in keeping with the=20
current syslog.conf?  I am *not* going to replace the syslog.conf=20
with a  different format, only extend it to encompass this simple=20
functionality.

On with the bikeshed...

=2D-=20
         "Where am I, and what am I doing in this handbasket?"

Wes Peters                                                   Softweyr LLC
wes@softweyr.com                                     http://softweyr.com/



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302141100.23529.wes>