[syslog-ng] Logrotate Questions And Solicitation For Ideas...

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Wed Jul 19 22:57:23 CEST 2006


On Wed, 19 Jul 2006 20:51:43 -0000, Vadim Pushkin said:
> Hi Valdis!
> 
> The method you recommend would completely wipe out my logs, I wish to rotate 
> them and keep at least N days worth.

Notice the "-mtime +30" - that means only do files that have not been changed
in 30 days.....

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 226 bytes
Desc: not available
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20060719/a61360ba/attachment-0001.pgp


More information about the syslog-ng mailing list