
17 Mar
2010
17 Mar
'10
8:45 p.m.
On 03/17/2010 06:03 PM, Alexander Arhipenko wrote:
I have one question in regards to log rotation. (I guess, I was asking it last year when RC3 was presented). Is it possible to setup log rotation in a following way: file.log - earlies log file (today) file1.log - older log file (yesterday) file2.log - oldest log file (the day before yesterday).
This way Apache, Samba etc. performs rotation. Also, this rotation behavior is default in Python logging module. Also, this behavior is default in my wolrd ;).
No, I haven't done that yet. But I'm moving to it. There is now a model of file collector that could potentially arrange the files the way you need.