Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2001 00:17:04 -0400
From:      Mike Barcroft <mike@FreeBSD.ORG>
To:        void <float@firedrake.org>
Cc:        Kris Kennaway <kris@obsecurity.org>, hackers@FreeBSD.ORG
Subject:   Re: syslogd and kqueue
Message-ID:  <20011027001704.B2586@coffee.q9media.com>
In-Reply-To: <20011027043342.A18231@parhelion.firedrake.org>; from float@firedrake.org on Sat, Oct 27, 2001 at 04:33:42AM %2B0100
References:  <20011026233957.A9925@parhelion.firedrake.org> <20011026200436.A61058@xor.obsecurity.org> <20011027043342.A18231@parhelion.firedrake.org>

next in thread | previous in thread | raw e-mail | index | archive | help
void <float@firedrake.org> writes:
> On Fri, Oct 26, 2001 at 08:04:36PM -0700, Kris Kennaway wrote:
> > I assume you mean "as soon as the configuration file is modified"?
> > That would be a big violation of POLA.
> 
> No ...

Yes!

> The traditional log-rotation dance goes something like:
> 
> mv log log.0
> touch log
> kill -1 `cat /var/run/syslogd.pid`
> gzip log.0
> 
> I'm suggesting that the "kill" could be left out if syslogd got the same
> smarts as "tail -F".

I recommend using newsyslog(8) for rotating log files.


Best regards,
Mike Barcroft

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




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