Hopefully you're not creating custom logging levels. Creating custom logging
levels is the classic way to create classloader leaks. See the following as an
example:
http://blogs.sun.com/fkieviet/entry/classloader_leaks_the_dreaded_java
You can create a logging.properties file and place it in WEB-INF/classes. You
can then change this file, rebuild your application, and redeploy it without
taking down Tomcat.
You could also add a WatchedResource element to your Context and point it at
WEB-INF/classes/logging.properties. When that file is changed, Tomcat will
reload the application.
See: http://tomcat.apache.org/tomcat-5.5-doc/config/context.html
I'm not really sure you want to do the WatchedResource configuration in a
production environment though . . .
. . . . just my two cents.
/mde/
----- Original Message ----
From: Jason Pyeron <jpyeron@pdinc.us>
To: Tomcat Users List <users@tomcat.apache.org>
Sent: Wed, December 1, 2010 11:59:28 AM
Subject: Modifying logging levels logged in catalina.out at runtime
This may be slightly off-topic.
I'll start off with I know how to do this from inside the webapp's code and how
to do it by modifing properties files on the system at tomcat startup. But how
can it be done from outside the webapp with out restarting tomcat?
We are using java.util.logging on tomcat 5.5.23 using jdk 1.6.0_17.
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- -
- Jason Pyeron PD Inc. http://www.pdinc.us -
- Principal Consultant 10 West 24th Street #100 -
- +1 (443) 269-1555 x333 Baltimore, Maryland 21218 -
- -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|