strange problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

strange problem

arjun Sirupa (asirupa)

We are using log4j-1.2.17.jar and facing a strange issue. When we change log level for few packages, it takes effect correctly. For some packages, though the log level is set to INFO, their logs get printed in DEBUG all the time. We didn’t setup root logger in our config. However, even when if I set it to FATAL, it made no difference.

We see below log statement continuously. I found this<> online.

SystemConsole -::::- log4j:ERROR Attempted to append to closed appender named [DebugFileAppender]

I tried,

PropertyConfigurator.configure(“<log4j.xml path>”);

It didn’t help. I tried to debug by setting -Dlog4j.debug in JAVA_OPTS. It didn’t print much.

I am trying to debug why the log4j.xml updates are not working for few packages. Any help or pointers would be much appreciated.