Skip to content

Commit

Permalink
Revert Avocado Instrumented Tests Log Message Format to 92LTS Version
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
richtja committed Jul 17, 2023
1 parent 5fbbe16 commit 36d468f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion avocado/core/utils/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 36d468f

Please sign in to comment.