[jboss-jira] [JBoss JIRA] (AS7-6307) Ensure loggers get created on the correct LogContext
James Perkins (JIRA)
jira-events at lists.jboss.org
Thu Jan 10 19:04:08 EST 2013
[ https://issues.jboss.org/browse/AS7-6307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12745062#comment-12745062 ]
James Perkins commented on AS7-6307:
------------------------------------
Work complete, awaiting PR for AS7-6182
> 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