-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Mohit,
Mohit Anchlia wrote:
> Is there a way to dynamically change the logging level of log4j.xml in tomcat?
I wrote a pair of JSPs a long time ago to do this. It requires a 1.2.x
version of log4j, but you can change lots of stuff on the fly. See the
On 30 Sep 2008, at 17:20, Mohit Anchlia wrote:
Is there a way to dynamically change the logging level of log4j.xml
in tomcat?
Not builtin. But you can write some code in a servlet to change the
logging level. e.g.
Logger l = Logger.getLogger("com.mycompany");
l.setLevel(Level.DEBUG);
Is there a way to dynamically change the logging level of log4j.xml in tomcat?
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]