And there is now a Pull Request pending....

I suggest adding Willem to the team...

On Thu, Feb 10, 2011 at 11:34 AM, Willem Jiang (JIRA)
<j...@issues.ops4j.org> wrote:
> JdkHandler doesn't support to set the MDC
> -----------------------------------------
>
>                 Key: PAXLOGGING-97
>                 URL: http://issues.ops4j.org/browse/PAXLOGGING-97
>             Project: Pax Logging
>          Issue Type: Bug
>          Components: Service
>    Affects Versions: 1.6.0, 1.5.3, 1.5.2, 1.5.1, 1.5.0
>            Reporter: Willem Jiang
>             Fix For: 1.6.1
>
>
> Current JdkHandler calls the PaxLoggerImpl to log the message
> {code}
>  logger.log( log4jlevel, message, throwable );
> {code}
> But the PaxLoggerImpl doesn't set the MDC before logging.
> {code}
> public void log( Priority level, Object message, Throwable t )
>    {
> +       setDelegateContext();
>        m_delegate.log( m_fqcn, level, message, t );
> +      clearDelegateContext();
>    }
> {code}
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators: 
> http://issues.ops4j.org/secure/Administrators.jspa
> -
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
> _______________________________________________
> notify mailing list
> not...@lists.ops4j.org
> http://lists.ops4j.org/mailman/listinfo/notify
>



-- 
Niclas Hedhman, Software Developer
http://www.qi4j.org - New Energy for Java

I live here; http://tinyurl.com/3xugrbk
I work here; http://tinyurl.com/24svnvk
I relax here; http://tinyurl.com/2cgsug

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to