Hi, the background logger is an excellent extension helping me log all my messages from a background process, with multiple processes.
But, it's not support to log any other logger backgrounding except "sanic.access", "sanic.error", "sanic.root".
This PR is an attempt to support logging other custom loggers in the background.
The default value of app.config.LOGGERS = ["sanic.access", "sanic.error", "sanic.root"],
which is the same with (root_logger, access_logger, error_logger)
Hi, the background logger is an excellent extension helping me log all my messages from a background process, with multiple processes. But, it's not support to log any other logger backgrounding except
"sanic.access", "sanic.error", "sanic.root"
.This PR is an attempt to support logging other custom loggers in the background.
to use:
The default value of
app.config.LOGGERS = ["sanic.access", "sanic.error", "sanic.root"]
, which is the same with(root_logger, access_logger, error_logger)