Summary: | The clearReferencesLogFactoryRelease removes all loggers in the JVM (instead of only removing all loggers of the Web application that is being undeployed) | ||
---|---|---|---|
Product: | Tomcat 7 | Reporter: | S. Ali Tokmen <postmaster> |
Component: | Catalina | Assignee: | Tomcat Developers Mailing List <dev> |
Status: | RESOLVED DUPLICATE | ||
Severity: | regression | CC: | postmaster |
Priority: | P2 | ||
Version: | 7.0.2 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Bug Depends on: | 49791 | ||
Bug Blocks: |
Description
S. Ali Tokmen
2010-08-20 15:05:31 UTC
Sorry, I meant Tomcat 7.0.0 and Tomcat 7.0.2 instead of 6.0.29. The fix would I guess look like that: To clean up all of the current Web application's loggers: get all loggers' names for each logger get all handlers for each handler if the handler's class can be loaded using the WebAppClassLoader AND cannot be loaded using the WebAppClassLoader's parent then remove this handler else don't touch // that logger belongs to some other application or to Tomcat itself |