On Mon, Mar 26, 2007 at 02:26:05AM +0100, Nick Morrott wrote: > Is the script allowed to include both a time directive (weekly) and > a size directive (10M) in the same block?
Hm, that's a good point, the man pages says that not. > I'm wondering if this is the reason that Paulo's scripts have not > rotated - perhaps the last directive (the size one) is overriding > the weekly directive, causing logrotate to wait until the file > reaches 10MB before it is rotated? Yes, that's what's happening. Looks like logrotate doesn't have a way to check both (max)size and age. I'll have to drop one of them, probably size. Good catch, thanks! -- Axel.Thimm at ATrpms.net
pgpgAX4uEO8Da.pgp
Description: PGP signature
_______________________________________________ atrpms-users mailing list [email protected] http://lists.atrpms.net/mailman/listinfo/atrpms-users
