[logback-dev] [Discussion] Deleting log files by last modified date

logback developers list logback-dev at qos.ch
Fri Jan 26 18:49:44 UTC 2024


https://github.com/qos-ch/logback/issues/764

I noticed that Logback uses a for loop to generate what it expects the log
file name to be and the directory it's in. Is there any reason why it can't
loop through the log output directory and match the log name and delete
them if they're outside the roll over window?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/logback-dev/attachments/20240126/b1ccc7e4/attachment.htm>


More information about the logback-dev mailing list