On Fri, Aug 10, 2007 at 02:19:55PM +0300, Artis Caune wrote:
> How about aditional flag ("X") to newsyslog, which don't compress first 
> log file?
>...

Interesting idea, but it still falls short of something we recently
needed to do at work:

We have a requirement to retain some number of logfiles, but only
compress those older than the Nth generation.

Thus, we might retain 90 "rotated" generations of the log file, of which
the oldest 50 are compressed, while the newest 40 are not.

I didn't see a better way to do it, so I cobbled up a Perl script; I'd
much rather be able to use newsyslog(8) for the job.

Biggest problem I can see (with what I want to accomplish) is how to
specify it in the config file.

Peace,
david
-- 
David H. Wolfskill                              [EMAIL PROTECTED]
Anything and everything is a (potential) cat toy.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Attachment: pgpXXhOkM5CQT.pgp
Description: PGP signature

Reply via email to