This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-06
Channels
- # aleph (70)
- # announcements (9)
- # babashka (43)
- # babashka-sci-dev (6)
- # beginners (97)
- # cider (2)
- # clj-commons (3)
- # clj-kondo (41)
- # clojure (88)
- # clojure-europe (44)
- # clojure-nl (2)
- # clojure-spec (22)
- # clojurescript (65)
- # community-development (6)
- # conjure (10)
- # cursive (6)
- # datahike (13)
- # datomic (4)
- # eastwood (11)
- # events (1)
- # fulcro (45)
- # graalvm (1)
- # graphql (3)
- # hyperfiddle (3)
- # integrant (7)
- # jobs (1)
- # lambdaisland (1)
- # lsp (58)
- # nbb (4)
- # nrepl (3)
- # pathom (15)
- # shadow-cljs (27)
- # tools-deps (1)
I'm trying to get logging working on my project and i'm using the helpful snippet from the above article on logging >
clj -Stree | egrep '^\s*(commons-logging|log4j|org\.apache\.logging\.log4j/log4j|org\.slf4j/simple|org\.slf4j/slf4j-jcl|org\.slf4j/slf4j-nop|org\.slf4j/slf4j-log4j12|org\.slf4j/slf4j-log4j13) '
which returns nothing to stdout, so i assume i have no logging deps i need to exlude. If i look at my raw output form clj -Stree though i think i do see a logging lib i need to remove:
com.taoensso/faraday 1.11.4
X com.taoensso/nippy 2.15.3 :use-top
. commons-logging/commons-logging 1.2 <-------- the dot means included right?
And if i look at my jar i see META-INF/maven/commons-logging/commons-logging/
If i remove the ^s*
from the command i think i get output that contains some logging libs i need to exclude:
clj -Stree | egrep '(commons-logging|log4j|org\.apache\.logging\.log4j/log4j|org\.slf4j/simple|org\.slf4j/slf4j-jcl|org\.slf4j/slf4j-nop|org\.slf4j/slf4j-log4j12|org\.slf4j/slf4j-log4j13)'
. commons-logging/commons-logging 1.2
. commons-logging/commons-logging 1.2
. commons-logging/commons-logging 1.2
. commons-logging/commons-logging 1.2
X commons-logging/commons-logging 1.1.3 :older-version
X commons-logging/commons-logging 1.1.3 :older-version
. commons-logging/commons-logging 1.2
X commons-logging/commons-logging 1.1.3 :older-version
. org.slf4j/slf4j-nop 1.7.22
. org.slf4j/log4j-over-slf4j 1.7.22
. commons-logging/commons-logging 1.2
. commons-logging/commons-logging 1.2
. commons-logging/commons-logging 1.2
. log4j/log4j 1.2.16
. commons-logging/commons-logging 1.2
X commons-logging/commons-logging 1.1.3 :excluded