I'm trying to use luminus for the first time. Most things seem to be working fairly well, apart from one major annoyance. I get this logging output in my REPL once per second:
2021-01-19 11:59:39,252 [XNIO-1 I/O-12] DEBUG io.undertow.websockets.core.request - UT025003: Decoding WebSocket Frame with opCode 1
Is there an easy way to get rid of this?
https://luminusweb.com/docs/logging.html AIUI you can either raise the root log level (past DEBUG) or you can set the logging level of undertow
Appears to silence that message for me.
<logger name="io.undertow.websockets" level="warn" />
Thank you! I ended up doing that, too, but I wish I could do something less brutal than silencing all debug level log entries.
Looks like luminus uses timbre as a wrapper as well, and timbre mentions more specific filters, ie by namespace and log level. http://ptaoussanis.github.io/timbre/taoensso.timbre.html#var-default-config or https://github.com/ptaoussanis/timbre#log-levels-and-ns-filters-basics Might have a solution for you, and probably nicer than XML configs
Lucky you ;-)