
Good to know :) Just out of curiosity, how is this accomplished? Do you look at the created/updated timestamp? Do you look in the log file for dates? Or another method? On 1 July 2011 09:36, Ceki Gülcü <ceki@qos.ch> wrote:
On 01/07/2011 9:08 AM, Alex Vb wrote:
I may have missed something but is there a specific reason you can't use the date in the filename itself?
My only concern would be what happens if you don't log for a day, the first log will trigger a roll but the rolled file may be dated incorrectly? Anyway if that is the case you can use prudent (or something equivalent) which doesn't actually rename the files but writes to the actual target file with date and all.
The file will be dated correctly even it it is rolled over in the next day.
-- Ceki
______________________________**_________________ Logback-user mailing list Logback-user@qos.ch http://qos.ch/mailman/**listinfo/logback-user<http://qos.ch/mailman/listinfo/logback-user>