[jboss-jira] [JBoss JIRA] (LOGMGR-167) Enable fallback on thread context ClassLoader for log context scanning

James Netherton (JIRA) issues at jboss.org
Tue Sep 12 05:57:01 EDT 2017


    [ https://issues.jboss.org/browse/LOGMGR-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13462581#comment-13462581 ] 

James Netherton commented on LOGMGR-167:
----------------------------------------

Feel free to close this. I wont be requiring any changes to JBoss Logging.

> Enable fallback on thread context ClassLoader for log context scanning
> ----------------------------------------------------------------------
>
>                 Key: LOGMGR-167
>                 URL: https://issues.jboss.org/browse/LOGMGR-167
>             Project: JBoss Log Manager
>          Issue Type: Enhancement
>            Reporter: James Netherton
>
> {{ClassLoaderLogContextSelector}} searches the call stack for a {{ClassLoader}} that's used as a map key to discover the appropriate {{LogContext}}.
> If the search fails, can we add an additional check that uses the ThreadContextClassLoader to lookup the {{LogContext}} from the {{contextMap}}?
> My reasoning for requesting this is described in this issue:
> https://github.com/wildfly-extras/wildfly-camel/issues/1919#issuecomment-321487820



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list