[jboss-jira] [JBoss JIRA] (JBLOGGING-97) Object value passed to JBossLogManagerProvider.putMdc(String, Object) should be returned from getMdc(final String)

Petar Tahchiev (JIRA) issues at jboss.org
Thu Feb 6 07:12:28 EST 2014


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

Petar Tahchiev commented on JBLOGGING-97:
-----------------------------------------

Hi James,

jboss-logmanager was released on 8th of January 2014 and then log4j-jboss-logmanager on 28th of January (http://central.maven.org/maven2/org/jboss/logmanager/)
                
> Object value passed to JBossLogManagerProvider.putMdc(String, Object) should be returned from getMdc(final String)
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBLOGGING-97
>                 URL: https://issues.jboss.org/browse/JBLOGGING-97
>             Project: JBoss Logging
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: slf4j-jboss-logmanager
>    Affects Versions: 3.1.3.GA
>            Reporter: Scott Marlow
>            Assignee: James Perkins
>            Priority: Blocker
>             Fix For: 3.1.5.GA
>
>
> Change JBossLogManagerProvider.putMdc(final String key, final Object value) to call MDC.put(key, value) instead of MDC.put(key, String.valueOf(value))

--
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