-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Milestone
Description
Description
log4j-slf4j-impl 2.22.0 appears to depend on slf4j 2, and not slf4j 1 as described by the documentation.
Configuration
Version: 2.22.0
Operating system: MacOS 13.5.1
JDK: I've tried Eclipse Adoptium Java 11.0.18 and Amazon.com Inc. Java 17.0.9 but I don't think it would matter
Logs
Not applicable
Reproduction
Using the following build.sbt
file:
libraryDependencies += "org.apache.logging.log4j" % "log4j-slf4j-impl" % "2.22.0"
then run sbt "show fullClasspath"
:
$ sbt "show fullClasspath"
[info] welcome to sbt 1.9.7 (Eclipse Adoptium Java 11.0.18)
[info] loading settings for project global-plugins from global.sbt ...
[info] loading global plugins from ~/.sbt/1.0/plugins
[info] loading project definition from ~/log4j2-slf4j/project
[info] loading settings for project log4j2-slf4j from build.sbt ...
[info] set current project to log4j2-slf4j (in build file:~/log4j2-slf4j/)
[info] * Attributed(~/log4j2-slf4j/target/scala-2.12/classes)
[info] * Attributed(~/.sbt/boot/scala-2.12.18/lib/scala-library.jar)
[info] * Attributed(~/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/logging/log4j/log4j-slf4j-impl/2.22.0/log4j-slf4j-impl-2.22.0.jar)
[info] * Attributed(~/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/logging/log4j/log4j-api/2.22.0/log4j-api-2.22.0.jar)
[info] * Attributed(~/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/slf4j/slf4j-api/2.0.9/slf4j-api-2.0.9.jar)
[info] * Attributed(~/Library/Caches/Coursier/v1/https/repo1.maven.org/maven2/org/apache/logging/log4j/log4j-core/2.22.0/log4j-core-2.22.0.jar)
[success] Total time: 1 s, completed Dec 5, 2023, 5:58:16 PM
Note the slf4j-api
version: 2.0.9
.
ppkarwasz and ken1ma
Metadata
Metadata
Assignees
Labels
No labels