John R Levine writes:
 > 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? 

Unfortunately, cyclog currently has no way to tell you when it's
rotated a log.  That's too bad, because you have to poll.  It's
definitely abandoned a log when it removes write permissions, though,
so you could configure it to write a very large number of files of
relatively small size, and once a day, concatenate all the read-only
files, grovel through them, and compress them.

-- 
-russ nelson <[EMAIL PROTECTED]>  http://crynwr.com/~nelson
Crynwr supports Open Source(tm) Software| PGPok | Government schools are so
521 Pleasant Valley Rd. | +1 315 268 1925 voice | bad that any rank amateur
Potsdam, NY 13676-3213  | +1 315 268 9201 FAX   | can outdo them. Homeschool!

Reply via email to