From 8678ab4c009559a762a9720f54534574efeb844b Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 7 Oct 2021 22:59:43 +0200 Subject: [PATCH] fix: fix format string of the json logger (#181) --- ansibledoctor/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansibledoctor/utils.py b/ansibledoctor/utils.py index 1853c77..ab47320 100644 --- a/ansibledoctor/utils.py +++ b/ansibledoctor/utils.py @@ -12,7 +12,7 @@ from pythonjsonlogger import jsonlogger import ansibledoctor.exception CONSOLE_FORMAT = "{}{}[%(levelname)s]{} %(message)s" -JSON_FORMAT = "(asctime) (levelname) (message)" +JSON_FORMAT = "%(asctime)s %(levelname)s %(message)s" def to_bool(string):