This commit is contained in:
Robin Müller 2022-02-03 17:13:56 +01:00
commit 80312ed21e

View File

@ -19,7 +19,8 @@ def get_console_logger():
def init_console_logger(): def init_console_logger():
handler = colorlog.StreamHandler() handler = colorlog.StreamHandler()
handler.setFormatter(colorlog.ColoredFormatter( handler.setFormatter(colorlog.ColoredFormatter(
'%(log_color)s%(levelname)s: %(message)s')) '%(log_color)s%(levelname)-8s | %(reset)s%(message)s'
))
logger = colorlog.getLogger(CONSOLE_LOGGER_NAME) logger = colorlog.getLogger(CONSOLE_LOGGER_NAME)
logger.addHandler(handler) logger.addHandler(handler)