Red Hat Bugzilla – Bug 17003
Last modified: 2008-05-01 11:37:58 EDT
It would be a nice enhancement if you could tell logrotate to rotate a log
infinitly so that you could keep all logs. The only way I can work out how
to do this is with a post script. I looked at the source but it's pretty
complicated and I don't have the necessary skills without a lot more
comments ! heh!
Possible strategies I though of were:
- add another member to the logInfo struct.
- add a -1 option for rotateCount and then have it increment all names by
This is tricky -- logrotate needs to know the highest possible log file name.
This could be changed by globbing the files and figuring it out, but this is a