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)