Fork me on GitHub
#tools-deps
<
2022-10-16
>
Benjamin16:10:53

Jo:

SLF4J: Found binding in [jar:file:/home/benj/.m2/repository/ch/qos/logback/logback-classic/1.2.8/logback-classic-1.2.8.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/benj/.m2/repository/org/slf4j/slf4j-nop/1.7.36/slf4j-nop-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
how do I find exactly which dep contributes which files on the classpath? -Stree seems useful but prints only the "artifacts" or something right?

Benjamin16:10:26

for some reason slf4j-nop doesn't show up in clj -Spath

Benjamin17:10:57

ok lol I had the issue with logback-classic 1.2.8 and it is fixed with 1.4.4

souenzzo23:10:55

see also: clj -Stree This may be useful too

(map str (iterator-seq (.asIterator (.getResources (.getContextClassLoader (Thread/currentThread))
                                      "/org/slf4j/impl/StaticLoggerBinder.class
"))))