On Thu, Jun 17, 1999 at 03:01:54PM -0400, John R Levine wrote:

> I have squinted at the cyclog and other man pages in daemontools, but I 
> don't get the big picture.
> 
> I currently use syslog, and rotate the log files once a day, scanning the
> logs, making summaries, and keeping a week's worth of compressed daily logs. 
> 
> cyclog rotates itself when a log reaches a certain size, which is fine, but
> what's the right way to collect them and do a daily scan and crunch? 

Bruce Guenter has written a patch for cyclog that allows one to specify a
program to run when cyclog is about to rotate the logs. You could then have
a little shell script which mv's the oldest log to an archive area, where
you can then analyse it at leisure. I use it myself, and I like it. Find
the patch at:

http://www.qcc.sk.ca/~bguenter/distrib/daemontools

I hope Dan will incorporate this functionality into the main daemontools
distribution.

-- 
Anand

Reply via email to