vr wrote:

Due to message volume, I'm considering rotating my mail logs daily at my local time "midnight" and retaining about 30 days worth of files on disk. I'd like to have the date in the file names so visually I'll know what span is in each file.

Can this be done? (put dates into the file name)


You need the dateext option in the logrotate config. That'll mean your archives have the date extension, and the current one is just whatever it's normally called, which I guess should be OK for you?

Should this be done? (put the date into the file name)


Never caused me any problems ;)

--
Chris Jackson
Shadowcat Systems Ltd.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4bf1874f.60...@shadowcat.co.uk

Reply via email to