This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-07-26
Channels
- # aws-lambda (15)
- # babashka (7)
- # beginners (124)
- # calva (7)
- # cider (19)
- # clj-kondo (26)
- # clojure (261)
- # clojure-australia (3)
- # clojure-dev (10)
- # clojure-europe (45)
- # clojure-nl (4)
- # clojure-uk (6)
- # clojurescript (10)
- # datomic (7)
- # depstar (7)
- # emacs (11)
- # fulcro (41)
- # graalvm (48)
- # helix (1)
- # honeysql (17)
- # inf-clojure (7)
- # introduce-yourself (3)
- # jackdaw (2)
- # lsp (36)
- # malli (2)
- # meander (2)
- # membrane (1)
- # missionary (11)
- # off-topic (17)
- # pathom (83)
- # polylith (15)
- # re-frame (31)
- # reagent (42)
- # sci (35)
- # shadow-cljs (13)
- # spacemacs (13)
- # sql (19)
- # timbre (3)
- # tools-deps (77)
Hello! I would appreciate an advice regarding configuring Timber. This config works for me:
:ns-filter {:allow #{"com.fulcrologic.*" "billing-app.*" "org.flywaydb.*"}
:deny #{"com.zaxxer.hikari.pool.HikariPool" "com.zaxxer.*" #_and_more...}}
though I assume the :deny
part is useless since none of the patterns there are allowed by :allow
. However I would rather be able to say "allow everything except this list of exceptions" and I have tried that with
:ns-filter {#_#_:allow #{"com.fulcrologic.*" "billing-app.*" "org.flywaydb.*"}
:deny #{"com.zaxxer.hikari.pool.HikariPool" "com.zaxxer.*" #_and_more...}}
but it does not work - I see debug logs from com.zaxxer.hikari.pool.HikariPool
despite it being on the deny list, both literally and as a pattern. What am I doing wrong? 🙏 Timber v5.1.1Hello! I realise this is an old question, but I'm experiencing the same problem. Hikari doesn't log through timbre, it probably ends up going through slf4j or similar, so timbre config won't affect its logs. I'm having trouble finding how it does log, and am wondering whether you figured it out and can remember? Ideally I'd like to route Hikari through timbre via slf4j, but I'd settle for any ability to control Hikari logging!
No, sorry 😢