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);

-Dom

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to