[jboss-jira] [JBoss JIRA] (AS7-6307) Ensure loggers get created on the correct LogContext

James Perkins (JIRA) jira-events at lists.jboss.org
Wed Jan 9 17:26:08 EST 2013


James Perkins created AS7-6307:
----------------------------------

             Summary: Ensure loggers get created on the correct LogContext
                 Key: AS7-6307
                 URL: https://issues.jboss.org/browse/AS7-6307
             Project: Application Server 7
          Issue Type: Bug
          Components: Logging
            Reporter: James Perkins
            Assignee: James Perkins
             Fix For: 7.2.0.Alpha1


Using the {{ContextClassLoaderLogContextSelector}} causes static loggers loaded from libraries that set the TCCL to a deployments class loader get configured with the incorrect log context.

<dmlloyd> each Class object is examined for its class loader
<dmlloyd> we keep a set of our logging API class loaders
<dmlloyd> we iterate until we find a Class which isn't in one of our known modules
<dmlloyd> then we use that Class's class loader to select the log context

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list