void <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to