
paha wrote:
Hi, i tried today to reproduce the behavior using logback source instead of compiled jar and it works as expected with rollover. What could be a problem when using jar? i will try to make one jar from source and test it again
Sorry, it doesn't work either. Till now i found the following problem In TimeBasedRollingPolicy.java at start() there is a check where modification date of the file is inspected if (getParentsRawFileProperty() != null) at this point the result is always null. At FileAppender<E> the name of the log file seems to be filled from configuration later than the check is run. That's why modification time of the file is not retrieved, an file is never rolled over. -- View this message in context: http://www.nabble.com/TimeBasedRollingPolicy-tp19756004p22756013.html Sent from the Logback User mailing list archive at Nabble.com.