The code here clearly shows this:
|
(defn -init |
|
[] |
|
(let [default-config (var-get (resolve 'taoensso.timbre/example-config))] |
|
(when (and (compare-and-set! bootstrapped? false true) (= timbre/*config* default-config)) |
|
(let [level (or (System/getProperty "TIMBRE_LEVEL") (System/getenv "TIMBRE_LEVEL") ":info")] |
|
(reset! slf4j-timbre.adapter/override-level (keyword (subs level 1)))) |
|
(add-watch #'timbre/*config* ::on-first-config |
|
(fn [_ _ _ _] |
|
(reset! slf4j-timbre.adapter/override-level nil) |
|
(remove-watch #'timbre/*config* ::on-first-config))))) |
|
[[] (atom {})]) |
This caused me a lot of problem and valuable time trying to understand why the default setup was not logging at
:debug level which is the advertised default for
timbre
The code here clearly shows this:
slf4j-timbre/src/slf4j_timbre/factory.clj
Lines 12 to 22 in b077afc
This caused me a lot of problem and valuable time trying to understand why the default setup was not logging at
:debuglevel which is the advertised default fortimbre