[logback-user] TimeBasedRollingPolicy
paha
ch_pasha at yahoo.com
Sun Mar 29 15:34:23 CEST 2009
Ceki Gulcu wrote:
>
>
> Correct. The if(getParentsRawFileProperty != null) property is
> insufficient if
> the user only specifies a FileNamePattern but not the File property.
> Specifying
> only the FileNamePattern property is perfectly legal by the way.
>
right but...i set this property explicitly. and i set a breakpoint at
setFile method of FileAppender. It seems to be set after the check "if
(getParentsRawFileProperty() != null)" so that the modification time of the
correctly set log file is not retrieved at the right time. Sadly i didn't
have time at this weekend to find out more.
--
View this message in context: http://www.nabble.com/TimeBasedRollingPolicy-tp19756004p22767675.html
Sent from the Logback User mailing list archive at Nabble.com.
More information about the Logback-user
mailing list