From 36d468f41a2a8d2c05d817b3ff8466259b6f83f2 Mon Sep 17 00:00:00 2001 From: Jan Richter Date: Mon, 17 Jul 2023 15:01:27 +0200 Subject: [PATCH] Revert Avocado Instrumented Tests Log Message Format to 92LTS Version This commit addresses compatibility concerns by reverting the log message format of Avocado instrumented tests back to the 92LTS (Long-Term Support) version. By doing so, we ensure compatibility with the upcoming LTS version. Reference: #5721 Signed-off-by: Jan Richter --- avocado/core/utils/messages.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/avocado/core/utils/messages.py b/avocado/core/utils/messages.py index adedcc948c..4eb4a807fe 100644 --- a/avocado/core/utils/messages.py +++ b/avocado/core/utils/messages.py @@ -249,7 +249,9 @@ def start_logging(config, queue): log_level = config.get("job.output.loglevel", logging.DEBUG) log_handler = RunnerLogHandler(queue, "log") - fmt = "%(asctime)s %(name)s %(levelname)-5.5s| %(message)s" + fmt = ( + "%(asctime)s %(module)-16.16s L%(lineno)-.4d %(" "levelname)-5.5s| %(message)s" + ) formatter = logging.Formatter(fmt=fmt) log_handler.setFormatter(formatter)