logrotate naming of files by date
keithl at kl-ic.com
Thu Apr 15 18:35:28 UTC 2004
Marius Andreiana writes:
> Is there possible to make logrotate name the files by date? We'd like to
> keep archives of logs named as yyyy-mm-dd.
> I don't find any way to do it. Are there any reliable tools to use with
SUSE has an enhanced version of logrotate that does this as an option.
It has been tested on hundreds of thousands of production SUSE systems
for a couple of years, so it is robust. It is also fully backwards-
compatable with the existing Fedora/Redhat version of logrotate.
I have had an RFE on bugzilla for about 6 months now:
More details are there, including how to download the SUSE version.
If you think this is worth exploring, PLEASE add a comment. Perhaps
if Elliot Lee at Redhat gets enough comments in his mailbox he will
find time to look at the SUSE enhancements to the code.
Keith Lofstrom keithl at ieee.org Voice (503)-520-1993
KLIC --- Keith Lofstrom Integrated Circuits --- "Your Ideas in Silicon"
Design Contracting in Bipolar and CMOS - Analog, Digital, and Scan ICs
More information about the users