wood burning stoves 2.0*
The moose likes Other Open Source Projects and the fly likes Log4j's Erratic Stop-Resume-Logging Behaviour Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Other Open Source Projects
Bookmark "Log4j Watch "Log4j New topic

Log4j's Erratic Stop-Resume-Logging Behaviour

Jaideep Pujara

Joined: Jun 19, 2003
Posts: 11
Java Torpedoes,
I am facing a peculiar problem with Log4j file logging.
log4j stop logging to file, all of a sudden, this generally happens after few hrs of starting the server or even after couple of days after starting the server.
And logging may or may not resume later, this is completely arbit in nature.

Following is the snippet from log4j.properties being used:-
log4j.category.com.xyz.abc.all=ALL, finesse_all

My application makes use of proprietry java code, a wrapper over log4j, for fine grained control on logging. And everything resides in a Jetty6 server environment.

I am using log4j version 1.0.4

I have tried -Dlog4j.debug JVM switch, but it is not providing any clue.

Can it be related to related to Jetty6 Vs log4j 1.0.4? Any concrete information around?

Had anyone of you faced this before? or else
Any pointers would be helpful.

Consider Paul's rocket mass heater.
subject: Log4j's Erratic Stop-Resume-Logging Behaviour
Similar Threads
Log file rotation issue in weblogic10
unsynchronized file reading
Loading Log4j.jar from another Jar
Help! Deployed application steals JBoss logs
prob in JBoss and log4j