Put date on log file names?

2010-05-17 Thread vr
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)

Re: Put date on log file names?

2010-05-17 Thread CamaleĆ³n
On Mon, 17 May 2010 13:59:02 -0400, 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

Re: Put date on log file names?

2010-05-17 Thread Chris Jackson
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

Re: Put date on log file names?

2010-05-17 Thread Timo Boettcher
Hi! * vr debian-u...@iotk.net wrote: 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) Depends. See the other posts about logrotate Should this be done? (put the date into the file name) No clue If