From 0a7d731eb7815c51064b7dd79dc621758bf268d4 Mon Sep 17 00:00:00 2001 From: anjiahao Date: Mon, 19 Aug 2024 15:08:25 +0800 Subject: [PATCH] minidumpserver:change logger format to debug Signed-off-by: anjiahao --- tools/minidumpserver.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/minidumpserver.py b/tools/minidumpserver.py index 90d348635d..aaeb3b93f8 100755 --- a/tools/minidumpserver.py +++ b/tools/minidumpserver.py @@ -1003,7 +1003,10 @@ def config_log(debug): else: logger.setLevel(logging.INFO) - logging.basicConfig(format="[%(levelname)s][%(name)s] %(message)s") + logging.basicConfig( + format="[%(levelname)s][%(asctime)s][%(lineno)d] %(message)s", + datefmt="%H:%M:%S", + ) def auto_parse_log_file(logfile):