Re: Getting logrotate to rename to YYYY-MM-DD
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 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.
>
Use your language-of-choice (e.g. python would be fine, Ada would be
overkill) and do it. Probably quite simple.
Doug.
Reply to: