[jboss-jira] [JBoss JIRA] Closed: (JBLOGGING-4) MDC class checks for NCDSupport at initialization (should check for MDCSupport)

Dimitris Andreadis (JIRA) jira-events at lists.jboss.org
Mon May 12 18:48:32 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBLOGGING-4?page=all ]

Dimitris Andreadis closed JBLOGGING-4.
--------------------------------------

    Resolution: Done

Fixed

> MDC class checks for NCDSupport at initialization (should check for MDCSupport)
> -------------------------------------------------------------------------------
>
>                 Key: JBLOGGING-4
>                 URL: http://jira.jboss.com/jira/browse/JBLOGGING-4
>             Project: JBoss Logging
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jboss-logging-spi
>    Affects Versions: 2.0.5.GA-spi
>            Reporter: Dimitris Andreadis
>         Assigned To: Dimitris Andreadis
>             Fix For:  2.0.6.GA-spi
>
>
> Seems like a copy-and-past error:
>       MDCProvider m = null;
>       if (NDCSupport.class.isAssignableFrom(Logger.pluginClass)) <== HERE
>       {
>          try
>          {
>             m = ((MDCSupport) Logger.pluginClass.newInstance()).getMDCProvider();
>          }
>          catch (Throwable t)
>          {
>             // Eat
>          }
>       }

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list