Subject: Re: Log rotation
To: Peter Seebach <seebs@plethora.net>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: current-users
Date: 02/18/2005 18:07:10
seebs@plethora.net (Peter Seebach) writes:

> In message <Pine.LNX.4.43.0502181429340.12069-100000@pilchuck.reedmedia.net>, "
> Jeremy C. Reed" writes:
> >newsyslog does the signal before it compresses the newly rotated file (and
> >after it creates new log file).
> 
> Hmm.
> 
> Okay, quick poll:
> 
> 	* Who here wants newsyslog to support wildcarding?
> 	* Who would like a "command to run after rotating" option, perhaps
> 	  a little more generic than the support for PID files?
> 
> If anyone else wants this, I'll try to do up a clean version and submit
> a patch.

The MIT Athena newsyslog(8) did the latter with config-file-specified
filter flags, to run arbitrary commands. See
http://web.mit.edu/source/athena/etc/newsyslog/.

        - Nathan