[logback-user] Does logback 0.9.7 implements MDC ?
JACOB Pascal
jacob.p at mipih.fr
Tue Aug 14 15:44:11 CEST 2007
Hello dear logback commiters,
I'm trying to use MDC in my multithread program and i'm having the
following error:
SLF4J: Failed to load class "org.slf4j.impl.StaticMDCBinder".
SLF4J: See http://www.slf4j.org/codes.html#no_static_mdc_binder for
further details.
Exception in thread "main" java.lang.NoClassDefFoundError:
org/slf4j/impl/StaticMDCBinder
at org.slf4j.MDC.<clinit>(MDC.java:70)
at fr.mipih.jms.AsynchConsumer.<init>(AsynchConsumer.java:50)
at fr.mipih.jms.AsynchConsumer.main(AsynchConsumer.java:182)
I have the following jars in the classpath :
slf4j-api-1.4.2.jar
jcl104-over-slf4j-1.4.2.jar
logback-classic-0.9.7.jar
logback-core-0.9.7.jar
I have check the content of the jars and in fact StaticMDCBinder is
nowhere to be found (should be in logback-classic-0.9.7.jar as I
understand it)
I have checked the repository at http://svn.qos.ch/repos/logback/trunk
and found that StaticMDCBinder was added in
logback-classic\src\main\java\org\slf4j\impl
I have no [easy] way to compile the new source code on my platform since
logback use maven (don't have it, don't want to install it, don't want
to learn how to use it).
Isn't it time to release a 0.9.8 or something (why not a 1.0) so that
MDC (and other bug fixes) are available to the majority ?
TIA.
ZC.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://qos.ch/pipermail/logback-user/attachments/20070814/41df7f88/attachment.htm
More information about the Logback-user
mailing list