Logrotate RFE (2)

Keith Lofstrom keithl at kl-ic.com
Thu Mar 4 20:50:18 UTC 2004


On thursday, March 4, Konstantin  Ryabitsev writes:

> I'm also a little skeptical if this is a good feature. And not just
> because I would have to hack my beautiful rotation-handling routines in
> epylog. :)

Fortunately, you would not have to change a thing.  The SUSE logrotate
patch is just another option that can be optionally added to the 
logrotate config file.  If you do not explicitly turn on the dateext
extension, the log files are numbered in the old way.  

On the other hand, if the logrotate configuration file is optionally
configured to use dateext, many other programs that are sensitive to
filename changes do not have to be enhanced to accomodate the special
case behavior of the files in the /var/log directory.

So, you have nothing to lose, and much capability to gain.  The additional
capability may be attractive enough for you to enhance your beautiful
code.  If it is not, you can ignore the new capability and leave the
configuration files and the behavior the old way, forever.

Still at issue, perhaps, is how the base distro should be configured.
The old way, with numbers, of course!   Those of us that want to use
the new capability can build our own version of the /etc/logrotate.d 
directory, to fold into the distro version when we do upgrades.


Keith

-- 
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 fedora-devel-list mailing list