[prev in list] [next in list] [prev in thread] [next in thread]
List: log4j-user
Subject: Missing log entries with DailyRollingFileAppender
From: praveen#123 <praveensegu () gmail ! com>
Date: 2008-07-15 17:59:52
Message-ID: 18471360.post () talk ! nabble ! com
[Download RAW message or body]
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/"
debug="false">
<appender name="appLOG"
class="org.apache.log4j.DailyRollingFileAppender">
<layout class="org.apache.log4j.PatternLayout">
</layout>
</appender>
<appender name="appLOG-ASYNC"
class="org.apache.log4j.AsyncAppender">
<appender-ref ref="appLOG"/>
</appender>
<root>
<level value="DEBUG" />
<appender-ref ref="appLOG-ASYNC" />
</root>
</log4j:configuration>
is nay thing i am miss config
Thanks in advace!
jack
--
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic