logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From praveen#123 <praveens...@gmail.com>
Subject Missing log entries with DailyRollingFileAppender
Date Tue, 15 Jul 2008 17:59:52 GMT

Hello everyone,

I have a problem when using the RollingFileAppender: It seems that not 
all log statements get written to the file.
I noticed this, because if I follow the execution of my program (it's 
multithreaded jms and per sec 2 messages are processing  ) and compare it
with the log some logging statements that 
should be written along its path of execution are missing. It's like a() 
calls b() calls c() and the logging outputs from b() are missing. I only 
log with debug level, so it's not a configuration problem. Is there an 
explanation for this strange behavior or a way to fix it? i am using tomcat
5.5 log4j 1.4
this is the log4j file

<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/"
        <appender name="appLOG"
                <layout class="org.apache.log4j.PatternLayout">
        <appender name="appLOG-ASYNC"
                <appender-ref ref="appLOG"/>
                <level value="DEBUG" />
                <appender-ref ref="appLOG-ASYNC" />
is nay thing i am miss config 

Thanks in advace!

View this message in context: http://www.nabble.com/Missing-log-entries-with-DailyRollingFileAppender-tp18471360p18471360.html
Sent from the Log4j - Users mailing list archive at Nabble.com.

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

View raw message