Re: Getting logrotate to rename to YYYY-MM-DD

2008-01-30 Thread Michelle Konzack
Am 2008-01-24 01:51:28, schrieb Debian Luser: > I'm trying to make a Debian system rotate its logfiles so that each > previous day's logs have -MM-DD appended to the name (just before > compression) and they then keep the same name until deleted. > As opposed to the standard Debian method, wher

Re: Getting logrotate to rename to YYYY-MM-DD

2008-01-24 Thread Debian Luser
On 1/24/08, Douglas A. Tutty <[EMAIL PROTECTED]> wrote: > > Use your language-of-choice (e.g. python would be fine, Ada would be > overkill) and do it. Probably quite simple. My language-of-choice would be a Bash script, or Perl at a push. It's log file rotation, it should be kept simple. One of

Re: Getting logrotate to rename to YYYY-MM-DD

2008-01-24 Thread Debian Luser
On 1/24/08, Johannes Wiedersich <[EMAIL PROTECTED]> wrote: > > "man logrotate" is your friend: > / >dateext > Archive old versions of log files adding a daily extension > like MMDD instead of simply adding a number. > \

Re: Getting logrotate to rename to YYYY-MM-DD

2008-01-24 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Debian Luser wrote: > I'm trying to make a Debian system rotate its logfiles so that each > previous day's logs have -MM-DD appended to the name (just before > I have checked the list archives, but found nothing that helps me. Am > I missing s

Re: Getting logrotate to rename to YYYY-MM-DD

2008-01-23 Thread Douglas A. Tutty
On Thu, Jan 24, 2008 at 01:51:28AM +0100, Debian Luser wrote: > I'm trying to make a Debian system rotate its logfiles so that each > previous day's logs have -MM-DD appended to the name (just before > compression) and they then keep the same name until deleted. > As opposed to the standard Deb

Getting logrotate to rename to YYYY-MM-DD

2008-01-23 Thread Debian Luser
I'm trying to make a Debian system rotate its logfiles so that each previous day's logs have -MM-DD appended to the name (just before compression) and they then keep the same name until deleted. As opposed to the standard Debian method, where logs get a single number appended, which is then cha