[logback-user] how to remove old log files in this sifting appender configuration
ceki
ceki at qos.ch
Wed Jul 11 17:30:37 CEST 2012
On 11.07.2012 17:10, Andreas Kruthoff wrote:
> Correct, number of threads remains stable after replacing
> MessageAppender by RollingFileAppender.
>
> But number of produced files is still increasing because old files
> aren't getting 'events' anymore, and logback depends on such events.
SiftingAppener cleans unused appenders after 30 minutes.
> I'm wondering if this scenario can be solved with logback or not. Maybe
> I need to write my own rolling policy....? <thinking...>
>
--
Ceki
http://tinyurl.com/proLogback
More information about the Logback-user
mailing list