Anand Buddhdev writes:
 > What would be nice is if cyclog had some way of signaling to us
 > that it had rotated a log, and we could save that away in a
 > directory.

Yes, wouldn't it be nice if cyclog had another parameter, like this:

cyclog: usage: cyclog [ -ssize ] [ -nnum ] [ -mmargin ] dir program

where ``program'' gets called with an additional argument which is the
name of the file cyclog has just ceased writing to.

 > We could then have a cron job cleaning this directory to remove log
 > files more than x days old. This way, cyclog can rotate logs as
 > quickly as it likes, but we control when they are removed.

Of course, that breaks cyclog's guarantee of never filling your disk.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok |   There is good evidence
521 Pleasant Valley Rd. | +1 315 268 1925 voice |   that freedom is the
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   |   cause of world peace.

Reply via email to