You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by "Karr, David" <da...@wamu.net> on 2005/03/30 22:18:28 UTC

Log4j1.2.8: What would cause DRFA to only occassionally actually write to the file, even with no buffering, and immediate flush?

I have a weird situation with a DailyRollingFileAppender.  I'm finding
that the code that is writing with this appender is only occassionally
actually writing to the file.  Just before doing the write, I forced the
appender to use unbuffered io, and immediate flush (which is probably
redundant).  I even have a file IO monitor (Filemon, from Sysinternals)
watching the file.  What I find is that it only writes to the file
"every so often".  I can't see the pattern.  What other information can
I get to determine what might be happening here?

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