From ef94c6969f89aed11c462c42bec43058d21aac73 Mon Sep 17 00:00:00 2001 From: Benjamin Renard Date: Thu, 24 Feb 2022 12:33:24 +0100 Subject: [PATCH] config: fix console logged message format --- mylib/config.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mylib/config.py b/mylib/config.py index 0139ccb..8a50f1e 100644 --- a/mylib/config.py +++ b/mylib/config.py @@ -815,6 +815,8 @@ class Config: # pylint: disable=too-many-instance-attributes if options.console: console_handler = logging.StreamHandler(sys.stdout) + console_formater = logging.Formatter('%(asctime)s - %(levelname)s - %(message)s') + console_handler.setFormatter(console_formater) logging.getLogger().addHandler(console_handler) if execute_callback: