From 37820306e84cca030a2ddc4be1a06e8551d73e49 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Mon, 4 Apr 2022 19:17:57 +0100 Subject: [PATCH] Properly pad error/warning messages --- handler/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handler/util.py b/handler/util.py index c906b68..a44c5be 100644 --- a/handler/util.py +++ b/handler/util.py @@ -38,7 +38,7 @@ class ColoredFormatter(logging.Formatter): def get_logger(name): # Define the logging format - FORMAT = "%(asctime)s %(levelname)s $BOLD%(name)13s$RESET - %(message)s" + FORMAT = "%(asctime)s %(levelname)18s $BOLD%(name)13s$RESET - %(message)s" COLOR_FORMAT = formatter_message(FORMAT, True) color_formatter = ColoredFormatter(COLOR_FORMAT) # formatter = logging.Formatter(