Hello all, Is there any way to disable lacinia or lacinia pedestal debug messages from timbre?
Lacinia doesn't do any logging, so I'm confused what debug messages you are talking about? Does timbre do something (I don't use it).
Is it maybe pedestal or jetty debug logging?
yes, it´s pedestal and jetty
Logging on the JVM is a bit... advanced 😬. There's a couple of log-frameworks like timbre or logback. You can set them up not to report debug messages from certain namespaces.
I discovered how to work with timbre and lacinia/lacinia-pedestal, and I´ll share with you:
deps.edn dependencies
com.taoensso/timbre {:mvn/version "5.1.2"}
com.fzakaria/slf4j-timbre {:mvn/version "0.3.21"}
org.slf4j/slf4j-api {:mvn/version "1.7.32"}
(timbre/merge-config!
{:ns-filter {:allow #{"*"} :deny #{"org.eclipse.jetty.*" "io.pedestal.*" "com.walmartlabs.lacinia.*"}}})
to disable all external logging stuffs !!!no config files at all !!!