More to add to this case: - We are not using any special classloader, and there is no other log4j.properties hanging around that the IDE or grep could find. - We didn't extend the log4j code by writing Appenders or other classes. - We are only using the basic Logger methods (.error() .warn(), .isDebugEnabled(), etc) - This is a multithreaded application running a home-made web-server.
Clarification on the lines logged: ... Some unrelated logging here that is not log4j-related here... the last log4j-related loged info is hours before. log4j: Hierarchy threshold set to [OFF]. log4j: Could not find root logger information. Is this OK? log4j: Finished configuring. ... no more logging here Thanks, Cristian Jansenson -----Original Message----- From: Cristian Jansenson [mailto:[EMAIL PROTECTED] Sent: Monday, January 15, 2007 10:12 AM To: log4j-user@logging.apache.org Subject: Logging stops after hours working I am running an application that uses log4j version 1.2.9. The application is running on Java 1.5.0.9 for Linux 64-bit version. After minutes or hours of running and logging, log4j stops logging. The console shows the following message, which partially explains the reason: log4j: Hierarchy threshold set to [OFF]. log4j: Could not find root logger information. Is this OK? log4j: Finished configuring. But why does this happen? Since this information is printed from the PropertyConfigurator, It looks as if log4j were re-configuring, even though I am NOT using the configureAndWatch method, and the log4j.properties file was neither touched nor changed. My log4j.properties: # enable log4j debugging, and set threshold=ALL (see bug 10598) log4j.threshold=ALL log4j.debug=true # Set root logger level to DEBUG and its only appender to A1. log4j.rootLogger=ERROR, A1 log4j.logger.http=WARN, HTTP # see bug 10603: http should not inherit appenders, etc, from root. log4j.additivity.http=false log4j.appender.A1=org.apache.log4j.DailyRollingFileAppender log4j.appender.A1.File=logs/error-${port}.log log4j.appender.A1.DatePattern='.'yyyy-MM-dd # A1 uses PatternLayout. log4j.appender.A1.layout=org.apache.log4j.PatternLayout log4j.appender.A1.layout.ConversionPattern=%d{DATE} %x [%t] %-5p %c %x - %m%n ############################################ # HTTP Log config ############################################ log4j.appender.HTTP=org.apache.log4j.DailyRollingFileAppender log4j.appender.HTTP.File=logs/http-${port}.log log4j.appender.HTTP.DatePattern='.'yyyy-MM-dd # A1 uses PatternLayout. log4j.appender.HTTP.layout=org.apache.log4j.PatternLayout log4j.appender.HTTP.layout.ConversionPattern=%m%n I hope you can help me on this issue, Cristian Jansenson -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.410 / Virus Database: 268.16.10/626 - Release Date: 1/14/2007 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.410 / Virus Database: 268.16.10/626 - Release Date: 1/14/2007 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.410 / Virus Database: 268.16.12/631 - Release Date: 1/16/2007 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]