From 8c90cfdc623969dea6baa4e0280848a45f9be3f5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Stelmach?= Date: Mon, 2 Oct 2023 21:39:22 +0200 Subject: [PATCH] WIP fix timestamp formatting MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: I601d6ef627aff2e498abf57dbc6bc10aa852690a Signed-off-by: Łukasz Stelmach --- scripts/tizen/sd_fusing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/tizen/sd_fusing.py b/scripts/tizen/sd_fusing.py index 8a5458b..64e8bfa 100755 --- a/scripts/tizen/sd_fusing.py +++ b/scripts/tizen/sd_fusing.py @@ -675,8 +675,8 @@ if __name__ == '__main__': print(f" {k:6} {v.long_name}") sys.exit(0) - conh = ColorStreamHandler(format='%(asctime)s.%(msecs)s %(debuginfo)%(levelname)-8s %(message)s', - cformat='%(asctime)s.%(msecs)s %(debuginfo)s%(levelcolor)s%(message)s', + conh = ColorStreamHandler(format='%(asctime)s.%(msecs)d %(debuginfo)%(levelname)-8s %(message)s', + cformat='%(asctime)s.%(msecs)d %(debuginfo)s%(levelcolor)s%(message)s', datefmt='%Y-%m-%dT%H:%M:%S') log_handlers = [conh] logging.basicConfig(format='%(asctime)s %(levelname)-8s %(message)s', -- 2.7.4