Keith Lofstrom <keithl@xxxxxxxxx> writes: > Logrotate is the program called by cron to rename and expire log > files. Ruedinger Oertel at SUSE (ro@xxxxxxx) has some patches that > enhance the basic Redhat logrotate with "dateext". This allows a > dated log file extension rather than a numbered one, for example > /var/log/messages.20031029 . The old logfiles do not get renamed, > just discarded after they get too old. This is a lot easier on > rsync, and it also is easier to administer. Note: These comments are not well researched... yet, but only a suggestion to pursue... I think they do get renamed... like: somelog becomes somelog.0 somelog.0 becomes somelog.1 etc Up to whatever number logrotate.conf is set to rotate `some.log' Seems like at each hop ... the file would have to be exactly the same size as its predecessor for this to effect rsync. > What are the proper steps to get these patches folded into the main > development path for Fedora Core? I mentioned this on this list in > October with a few positive comments, and submitted an RFE to bugzilla: Are we really sure this is such a good idea? I don't see any real advantage over the old way. And I'm probably not the only one who has home-made tools that depend on the current naming system. Seems like adding the date stamp is only dubbling the info already available in long ls output.