Hello,

On Jan 11, 2008 4:44 AM, Trustin Lee <[EMAIL PROTECTED]> wrote:
> Hi community,
>
> As the subject line says, it seems like the next version of SLF4J is
> going to support MDC for logging frameworks which doesn't provide MDC.
>  java.util.logging is a good example.  The users who use
> java.util.logging as their logging framework will have access to MDC
> so that they can implement a formatter which prints out the MDC
> content.  This means we can get rid of IoSessionLogger completely and
> rely on MdcInjectionFilter, as Maarten and I wanted for a long time.
>
> However, I think SLF4J won't provide a MDC-aware default Formatter
> implementation for java.util.logging, so we might need to include it
> in org.apache.mina.util package as an alternative solution.

good idea

> AFAIK, Maarten implemented one already.

Indeed. It's attached to http://bugzilla.slf4j.org/show_bug.cgi?id=63
I will add it to org.apache.mina.util and maybe add some more
MDC-aware Formatter implementations.

> Another good news is that that Log2Log project is almost ready to go.
> I succeeded to convert any JAR which depends on SLF4J to use other
> logging framework (e.g. Log4J, java.util.logging) directly, completely
> dropping SLF4J dependency.  This will solve a framework of frameworks
> issue raised by David Lloyd and some people.

That's great news !  Is the Log2Log project already hosted somewhere ?

> Meanwhile I will focus on finishing Log2Log project and taking care of
> the MDC issue with Maarten, because I think it's probably the last big
> change we are going to make before we release 2.0.0-M1.
>
> How does it sound?  Any feed back is appreciated.

sounds great to me :-)

Maarten

>
> Cheers,
> Trustin
> --
> what we call human nature is actually human habit
> --
> http://gleamynode.net/
> --
> PGP Key ID: 0x0255ECA6
>

Reply via email to