Fork me on GitHub
#luminus
<
2021-01-19
>
tord11:01:14

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?

Malik Kennedy20:01:31

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

<logger name="io.undertow.websockets" level="warn" />
Appears to silence that message for me.

tord18:01:14

Thank you! I ended up doing that, too, but I wish I could do something less brutal than silencing all debug level log entries.

Malik Kennedy17:01:22

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