Logback has removed or.slf4j.impl package from logback-classic 1.3.x onwards #793
Replies: 4 comments 7 replies
-
@skumarjh Logback version 1.3.x and later require SLF4J 2.0.x or later. As such, |
Beta Was this translation helpful? Give feedback.
-
@skumarjh Which version or versions of slf4j do you have on your classpath? Each copy of |
Beta Was this translation helpful? Give feedback.
-
@skumarjh You can use |
Beta Was this translation helpful? Give feedback.
-
@skumarjh qos-ch/slf4j#415 (comment) might be related. |
Beta Was this translation helpful? Give feedback.
-
Hello experts,
I wonder why the package "org.slf4j.impl" package has been removed from the logback-classic 1.3.x version.
It is available till the last version of 1.2.x.
I can see the same package with the same classes is available in the log4j-slf4j-impl jar.
When I use this jar to use the org.slf4j.impl in my project, I get no class def found for threadcontext.
When I add the log4j-slfj-impl to the classpath, i am getting "failed. class org.apache.logging.slf4j.Log4jLoggerFactory cannot be cast to class ch.qos.logback.classic.LoggerContext"
Can someone help me if I am using the correct jar or can someone help me to find if logback-classic's org.slf4j.impl package is bundled with any other specific jar?
This will help me a lot.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions