logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 43911] logfiles not getting rolled over with RollingFileAppender
Date Mon, 31 Mar 2008 20:49:30 GMT

--- Comment #2 from Nathan Feger <nafeger+apache@gmail.com>  2008-03-31 13:49:29 PST
I have also had this issue in my own use of log4j.  Basically, if a
RollingFileAppender is used from multiple VMs pointing at the same file, the
RollingFileAppender will not properly roll.  I believe this is due to log4j
caching the state of the log files.  

This cache is ineffective as there are forces at work writing to the file
outside of the specific instance of the RollingFileAppender.

I wonder if the submitter found a way to reproduce this issue while having
defined multiple rolling file appenders in the same log4j config file all
pointing at the same file.  I would imagine this might cause a similar issue
with the caching of file sizes.

Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

View raw message