Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71381 - Logrotate with dates
Summary: Logrotate with dates
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Daniel Gryniewicz (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-16 05:52 UTC by Ole Tange
Modified: 2005-05-24 14:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ole Tange 2004-11-16 05:52:39 UTC
Logrotates rotates files as numbered where 1 is the newest, 2 is the next to
newest. This makes sense a lot of situations. In other situations it would be
nicer if the numbering was a date (eg. YYYYMMDD). If you make incremental
backups then this will save a lot of space.

There is already a patch for it. 
http://www.devil-linux.us/pub/devel/sources/1.3/logrotate-3.6.6-dateext.dif.bz2
It is, however, not compatible with 3.6.5.


Reproducible: Always
Steps to Reproduce:
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-05-18 00:45:54 UTC
this appears to have been dropped along the way.
Comment 2 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-05-24 14:10:33 UTC
dateext is included in 3.7.1