
17 Nov
2010
17 Nov
'10
4:10 p.m.
pwillems66@zonnet.nl wrote:
Maybe someone else have a (different) solution?
FileAppender.setPrudent() looks promising for this purpose. However, using the example from PrudentTimeBasedRolling.xml, when I rm the file it is not recreated on the next log statement. Also, if it did work, it doesn't support your file appender, but maybe it is ok to change that. http://logback.qos.ch/codes.html#tbr_fnp_prudent_unsupported says,
prudent mode is not allowed in conjuction with a FixedWindowRollingPolicy.
-Gordon