Hi,

while looking into the failing unit tests I started to wonder whether
TestMinimalLockUnlocks in RollingFileAppenderTest has ever passed - and
if it actually can.

The test uses a RollingFileAppender with AppendToFile=false and a
MinimalLock locking model.  Since the MinimalLockingModel re-opens the
file for each message it is going to overwrite the existing file - this
is what the code does and why the test fails.

As I've never used MinimalLock myself I don't know whether it is
supposed for the append=false case at all - at least the docs don't say
it wouldn't work.

Stefan

Reply via email to