Description of problem: It would be nice if logrotate has an inbuilt option to show date information in the filename of a rotated log.
Internal RFE bug #126693 entered; will be considered for future releases.
*** This bug has been marked as a duplicate of 126693 ***
As we can't view the internal RFE bug, can you tell us if there is any progress on this? Might we see it in Fedora some time?
The basic deal is that we (well, gafton) /are/ upstream for logrotate, so it's a matter of working up acceptable patches and then persuading us to include them. I'm pretty sure there have been other bugs opened around this issue - it's worth searching through bugzilla to find them and figure out what the total picture is right now. Thanks for your patience.
Created attachment 108329 [details] SUSE's logrotate patch
I've found 2 other bugzilla entries: 81819 (14 Jan 2003 - DEFERRED) 108775 (1 Jan 2003 - ASSIGNED) The latter has discussion of SUSE's patch that adds a "dateext" option. There were some people who said it was pointless, and replies pointing out that it's only an option (not compulsary), and the real-world benefits (e.g. I rsync logfiles from another continent - big bandwidth savings). There was a question over whether it played well with one of the logrotate options, and assurances that it did. I've attached SUSE's patch to logrotate 3.7 (extracted from ftp://ftp.suse.com/pub/people/ro/logrotate/logrotate-3.7-31.2.src.rpm) to this comment. SUSE have been using it since December 2001; I'm not a coder so can't really comment, but I'd have thought that it must be fairly reliable on the basis of its longevity alone.
Good point about longevity... Looks like Petr owns logrotate now - no idea what his schedule is like. #108775 is "the bug" tracking this issue, though.
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.