[ATrpms-users] log-rotate facility for mythtv
Axel Thimm
Axel.Thimm at ATrpms.net
Mon Mar 26 09:53:31 CEST 2007
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.atrpms.net/pipermail/atrpms-users/attachments/20070326/c2fd3f19/attachment-0001.bin
More information about the atrpms-users
mailing list