[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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 YYYY-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 changed every day for every log file.

long time ago, I was wotking with Woody, I have recoded
logrotate as BASH script which do this, but today, since
over one year, logrotate does support the new naming scheme...

Maybe you should use a backport of logrotate if you are using Etch.

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSN LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: