This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-10-11
Channels
- # announcements (5)
- # babashka (43)
- # beginners (78)
- # calva (1)
- # cider (35)
- # clj-kondo (15)
- # clj-otel (3)
- # cljs-dev (2)
- # clojure (24)
- # clojure-denmark (1)
- # clojure-dev (9)
- # clojure-europe (43)
- # clojure-israel (1)
- # clojure-italy (1)
- # clojure-losangeles (3)
- # clojure-nl (1)
- # clojure-norway (54)
- # clojure-romania (1)
- # clojure-uk (2)
- # clojurescript (1)
- # core-async (25)
- # cursive (7)
- # datascript (6)
- # datomic (7)
- # docker (2)
- # emacs (2)
- # events (8)
- # exercism (2)
- # fulcro (2)
- # hyperfiddle (16)
- # lsp (46)
- # malli (10)
- # membrane (2)
- # music (6)
- # nbb (30)
- # off-topic (49)
- # polylith (4)
- # reagent (3)
- # releases (4)
- # shadow-cljs (5)
- # slack-help (1)
- # sql (2)
- # testing (2)
- # timbre (6)
- # tools-deps (29)
- # xtdb (36)
Doc review question: In the current https://github.com/polyfy/polylith/blame/6144c816d813ff891e557592542b70262a85b435/doc/build.adoc#L34 doc, I see @seancorfield's https://github.com/seancorfield/build-uber-log4j2-handler is shown as a dep in a code block that is part of the docs' ongoing poly
tutorial.
I've learned the purpose of this lib (interesting!), but I am guessing it is not strictly necessary for the poly
tutorial.
But I also see the dep won't hurt anything, and maybe it is a good general safeguard?
If this dep is part of some poly
best practices that I am not yet aware of, I could add a wee note of explanation.
If not, I could remove it to simplify the example.
It's one of those things that if you need it but don't have it, very weird things can happen with log4j2 -- but you're right that a lot of app can get away with not needing it.
It could (should?) probably be removed from the Polylith docs and I should probably add a section to the http://clojure-doc.org cookbook for tools.build
about it.
The reason it's there: it was included automatically by my build-clj
wrapper which Polylith used to used so I just carried it over into the poly
docs when I rewrote them to use bare tools.build
. I don't even know if poly
depends on anything that uses log4j2...
Thanks, @seancorfield, that clears things up for me!