Hi,
Use the configureAndWatch method (assuming you are using the DOMConfigurator or
PropertyConfigurator)
However, there is a caveat here, this method creates a new thread which is pretty much
unreacheable and hence may be considered unsafe (or very very bad) in a J2EE
environment.
Masroor.
-----Original Message-----
From: Mohammed, Feroz [mailto:[EMAIL PROTECTED]
Sent: Sun 9/5/2004 2:01 PM
To: '[EMAIL PROTECTED]'
Cc:
Subject: RE: Reloading lo4j.xml properties files in WAR/EAR
Hello,
I am new to log4j, heard lot of good things about logging.
I am using OC4j App server (Oracle) 9.0.4. on WIN2k dev deployment on Red
Hat linuix.
Here is my question:
In dev env I specify the catagory to DEBUG, when deploying I am changing to
WARN. and it is at web-inf/classes level
in WAR file. But I want to change the properties file to level to DEBUG
without re-starting the server.
How can I do it .
Regards
Feroz
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]