Skip to content
Snippets Groups Projects
Commit 01db9334 authored by Evan Feenstra's avatar Evan Feenstra
Browse files

UI does not disable default logger

parent fef55a48
No related branches found
No related tags found
No related merge requests found
......@@ -46,14 +46,8 @@ func configure(plugin *node.Plugin) {
}()
}))
node.DEFAULT_LOGGER.SetEnabled(false)
uiLogger.SetEnabled(true)
plugin.Node.AddLogger(uiLogger)
daemon.Events.Shutdown.Attach(events.NewClosure(func() {
node.DEFAULT_LOGGER.SetEnabled(true)
}))
}
func staticFileServer(c echo.Context) error {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment