fix(logging): Split warning and error logs.

This commit is contained in:
2023-09-18 08:56:57 +03:00
parent a27e07be97
commit c63027f20e
5 changed files with 29 additions and 9 deletions

View File

@@ -21,7 +21,7 @@ for name in conf.config.options('LOGGING_LEVELS', no_defaults=True):
logging.getLogger(name).setLevel(conf.logging_levels[name])
setup_main_logger()
logging_queue = setup_main_logger()
logger = logging.getLogger(__name__)