Bug 126413 - Would be nice to have a date-related rotated log filename
Summary: Would be nice to have a date-related rotated log filename
Keywords:
Status: CLOSED DUPLICATE of bug 126693
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: logrotate
Version: 3.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Elliot Lee
QA Contact: Jay Turner
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-06-21 11:00 UTC by Need Real Name
Modified: 2015-01-08 00:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-21 19:04:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
SUSE's logrotate patch (8.29 KB, patch)
2004-12-10 17:05 UTC, David Anderson
no flags Details | Diff

Description Need Real Name 2004-06-21 11:00:53 UTC
Description of problem:
It would be nice if logrotate has an inbuilt option to show date 
information in the filename of a rotated log.

Comment 1 Suzanne Hillman 2004-06-24 20:41:08 UTC
Internal RFE bug #126693 entered; will be considered for future releases.

Comment 2 Elliot Lee 2004-07-16 19:33:38 UTC

*** This bug has been marked as a duplicate of 126693 ***

Comment 4 David Anderson 2004-12-10 16:34:49 UTC
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? 

Comment 5 Elliot Lee 2004-12-10 16:48:35 UTC
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.

Comment 6 David Anderson 2004-12-10 17:05:50 UTC
Created attachment 108329 [details]
SUSE's logrotate patch

Comment 7 David Anderson 2004-12-10 17:07:12 UTC
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. 

Comment 8 Elliot Lee 2004-12-10 17:14:34 UTC
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.

Comment 9 Red Hat Bugzilla 2006-02-21 19:04:10 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.


Note You need to log in before you can comment on or make changes to this bug.