From 9a202ecef0fe884cd3a4c8f4b743e01e28d52819 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Thu, 7 Oct 2021 22:59:59 +0200 Subject: [PATCH] fix: fix format string of the json logger (#95) --- gitbatch/logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitbatch/logging.py b/gitbatch/logging.py index 1c12861..ae69095 100644 --- a/gitbatch/logging.py +++ b/gitbatch/logging.py @@ -12,7 +12,7 @@ from gitbatch.utils import Singleton from gitbatch.utils import to_bool CONSOLE_FORMAT = "{}[%(levelname)s]{} %(message)s" -JSON_FORMAT = "(asctime) (levelname) (message)" +JSON_FORMAT = "%(asctime)s %(levelname)s %(message)s" def _should_do_markup():