w00ps, find an updated patch attached. I forgot to run dquilt update after a few more improvements.
Gr. Matthijs
Index: logrotate-3.7.8/logrotate.8 =================================================================== --- logrotate-3.7.8.orig/logrotate.8 2010-05-03 12:25:04.013761517 +0200 +++ logrotate-3.7.8/logrotate.8 2010-05-03 13:38:33.861513873 +0200 @@ -222,6 +222,11 @@ The default value is -%Y%m%d. Note that also the character separating log name from the extension is part of the dateformat string. The system clock must be set past Sep 9th 2001 for %s to work correctly. +Note that the datestamps generated by this format must be lexically sortable +(i.e., first the year, then the month then the day. e.g., 2001/12/01 is ok, +but 01/12/2001 is not, since 01/11/2002 would sort lower while it is later). +This is because when using the \fBrotate\fR option, logrotate sorts all +rotated filenames to find out which logfiles are older and should be removed. .TP \fBdelaycompress\fR
signature.asc
Description: Digital signature

