[logback-user] TimeBasedRollingPolicy

paha ch_pasha at yahoo.com
Sun Mar 15 10:10:46 CET 2009

Hi, sorry for popping up an old thread but i don't catch something: shouldn't
the Logger when new event arrives check the last modification time of the
log file and if it "is time" roll it over? i have the same configuration in
servlet and script - rollover at midnight. in servlet everything works just
fine. but in script, that is run from cron every 2 hours, events are always
written in the same log. How can i make something, that doesn't run
continually trigger rollover? 
View this message in context: http://www.nabble.com/TimeBasedRollingPolicy-tp19756004p22517998.html
Sent from the Logback User mailing list archive at Nabble.com.

More information about the Logback-user mailing list