Hide Forgot
Description of enhancement suggestion: As demonstrated by bug 723570, one might wish to rotate a log as soon as either a size limit or a time limit is reached. Currently, logrotate supports rotation when two such limits are both reached (the "minsize" configuration, the conjunction of the criteria). It seems reasonable to add support for the case when any of them (maybe a "maxsize" configuration, the disjunction of the criteria). Version-Release number of selected component (if applicable): logrotate-3.7.9-11.fc15.x86_64
*** Bug 723565 has been marked as a duplicate of this bug. ***
OK, after re-reading man page we've really decided to allow using size and time together and let both of them trigger rotation. I will try to code it today and push it into rawhide. Then it'll be there for some time for testing.
I've committed it upstream https://fedorahosted.org/logrotate/changeset/337. I've created new "maxage" directive in the end, to not break compatibility with older logrotate versions. I will also fix #723565 in next commit and build package then.
This is fixed in F17 and I don't plan to backport this feature older Fedora versions.
This was a request for a new feature, and I don't see any reason to backport to older distributions. Thanks for making it available in F17!