luminus

tord 2021-01-19T11:01:14.003200Z

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 Kennedy 2021-01-21T20:39:31.000100Z

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.

tord 2021-01-26T18:53:14.002200Z

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 Kennedy 2021-01-27T17:06:22.002400Z

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

Piotr 2021-01-19T13:42:10.003500Z

Lucky you ;-)