[jboss-jira] [JBoss JIRA] Commented: (JBLOGGING-54) MDC entries do not appear in jboss log

Nicklas Karlsson (JIRA) jira-events at lists.jboss.org
Tue May 10 07:04:18 EDT 2011


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

Nicklas Karlsson commented on JBLOGGING-54:
-------------------------------------------

There is probably something strange with the log4j loggingEvent:s view of the MDC since when I'm in an appender I get

MDC.get("user") gives correct result;
event.getMDC("user") returns null



> MDC entries do not appear in jboss log
> --------------------------------------
>
>                 Key: JBLOGGING-54
>                 URL: https://issues.jboss.org/browse/JBLOGGING-54
>             Project: JBoss Logging
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jboss-logging-spi
>    Affects Versions: 3.0.0.Beta4-jboss-logging
>         Environment: 64bit Linux, JDK1.6.0_23
>            Reporter: Chris Jansen
>            Assignee: David Lloyd
>             Fix For: 3.0.0.Beta5-jboss-logging
>
>
> As per title, MDC entries do not appear in jboss log when using the log pattern "%d %-5p [%c] (%t) [%X{user} %X{task}] - %s%E%n"

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the jboss-jira mailing list