https://issues.apache.org/bugzilla/show_bug.cgi?id=48716
Summary: Embedded Tomcat JULI aggressively resetting default
logging configuration
Product: Tomcat 6
Version: 6.0.24
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
When using Tomcat embedded in conjunction with default JDK logging, any removal
of a StandardContext instance from the Host container will lead to a reset of
all JDK logging configuration.
This is due to
StandardContext.stop()
calling
WebappLoader.stop()
calling
org.apache.juli.logging.LogFactory.release(ClassLoader)
which in turn calls
LogManager.getLogManager().reset();
and the fact that, when using JDK logging, LogManager.getLogManager returns the
default log manager rather that JULI's log manager.
Suggestion: Check whether the log manager is actually JULI's.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]