[mod] Rename clojure.tools.logging sys val

The change avoids any chars that could cause a problem, e.g. for
classpath resource names.
This commit is contained in:
Peter Taoussanis 2024-04-23 17:02:19 +02:00
parent ffea1a30ed
commit d3c63e17a9
2 changed files with 3 additions and 3 deletions

View file

@ -35,7 +35,7 @@
["-server" ["-server"
"-Dtaoensso.elide-deprecated=true" "-Dtaoensso.elide-deprecated=true"
"-Dtaoensso.telemere.auto-handlers=false" "-Dtaoensso.telemere.auto-handlers=false"
"-Dclojure.tools.logging-to-telemere?=true"] "-Dclojure.tools.logging.to-telemere=true"]
:global-vars :global-vars
{*warn-on-reflection* true {*warn-on-reflection* true

View file

@ -40,7 +40,7 @@
"Configures `clojure.tools.logging` to use Telemere as its logging implementation. "Configures `clojure.tools.logging` to use Telemere as its logging implementation.
Called automatically if the following is true: Called automatically if the following is true:
(get-env {:as :bool} :clojure.tools.logging->telemere?) (get-env {:as :bool} :clojure.tools.logging/to-telemere)
See `get-env` for details." See `get-env` for details."
[] []
@ -78,5 +78,5 @@
(impl/add-intake-check! :tools-logging check-intake) (impl/add-intake-check! :tools-logging check-intake)
(impl/on-init (impl/on-init
(when (enc/get-env {:as :bool} :clojure.tools.logging-to-telemere?) (when (enc/get-env {:as :bool} :clojure.tools.logging/to-telemere)
(tools-logging->telemere!))) (tools-logging->telemere!)))