logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Esher, Marc \(4-7260\)" <mes...@argusgroupinc.com>
Subject dailyrollingfileappender not writing backup files
Date Wed, 04 May 2005 15:12:08 GMT

   I'm using log4j 1.2.7 and have multiple threads writing to the same
log file. I'm using traditional properties file to configure log4j (not
the xml file). The backups don't seem to work when I use a regular


I switched to a DailyRollingFileAppender. What happens now is that at
the appropriate time (in this case, at the "minute" level), the log file
is started over, but no backup file is written. i.e. I have mylog.txt
but no mylog.txt.2005-05-04-xxxxx files accruing.


I seem to remember reading somewhere about the appropriate way to
configure log4j if multiple threads are writing to the file appender.
Can someone point me in the right direction? Sample config files would
be most appreciated!





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