[logback-user] Logback in combination with slf4j: which versions should I use ?

stlecho stlecho at gmail.com
Fri Mar 29 13:48:05 CET 2013


Hello,

With regards to the combination of logback-core and slf4j-api. 
If I want to use v1.0.11 of logback-core, which version of slf4j-api should
I use to avoid the getResourceOccurenceCount error ?

-logback-core v0.9.30 in combination with slf4j-api v1.6.3 works perfectly

-logback-core v1.0.11 in combination with slf4j-api v1.6.3 results in
java.lang.NoSuchMethodError:
ch.qos.logback.core.util.Loader.getResourceOccurenceCount(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/List;

-logback-core v1.0.11 in combination with slf4j-api v1.7.5 works perfectly
result in java.lang.NoSuchMethodError:
ch.qos.logback.core.util.Loader.getResourceOccurenceCount(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/util/List;

Regards, Stefan Lecho



--
View this message in context: http://logback.10977.n7.nabble.com/Logback-in-combination-with-slf4j-which-versions-should-I-use-tp11694.html
Sent from the Users mailing list archive at Nabble.com.


More information about the Logback-user mailing list