logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Qi (yuqi)" <y...@cisco.com>
Subject Weird behavior for RollingFileAppender
Date Thu, 24 Jan 2008 19:13:40 GMT
I defined a RollingFileAppender in my log4j config file, it works fine
for simple logging request. But when many loggers writing to the same
log file, it behaves like this:
 
original log file is:  "foo.log", it should roll to "foo.log.1",
"foo.log.2"
 
now, "foo.log" did roll to "foo.log.1", but the new message also write
to "foo.log.1" instead of the newly generated "foo.log"
 
Is this a known bug? Thanks. 
 

Regards,

-- Alex Qi

 

 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message