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. AFAIK, Maarten implemented one already. 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. 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. Cheers, Trustin -- what we call human nature is actually human habit -- http://gleamynode.net/ -- PGP Key ID: 0x0255ECA6
