When I run figwheel via the scripting API, I get a lot of logging messages to my console despite having a config that filters out INFO and below.
I traced this down to how figwheel sets up the *logger* by default:
Disabling parent handlers
Setting new handlers
This makes it quite awkward to utilize an existing java.util.Logging config (I have mine forwarded to SLF4J). I've ended up with this code to undo the figwheel logging tweaks:
When I run figwheel via the scripting API, I get a lot of logging messages to my console despite having a config that filters out INFO and below.
I traced this down to how figwheel sets up the
*logger*
by default:This makes it quite awkward to utilize an existing java.util.Logging config (I have mine forwarded to SLF4J). I've ended up with this code to undo the figwheel logging tweaks: