From f8893e00586649d6704556efedc55ae0bbadbe69 Mon Sep 17 00:00:00 2001 From: Tim Date: Thu, 28 Mar 2024 21:12:42 -0400 Subject: [PATCH] level name in log --- logging-default.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/logging-default.toml b/logging-default.toml index 56005af..fb3e7f4 100644 --- a/logging-default.toml +++ b/logging-default.toml @@ -15,12 +15,12 @@ stream='ext://sys.stdout' [formatters.default] # https://docs.python.org/3/library/logging.html#logrecord-attributes -format='%(asctime)s %(name)s %(message)s' +format='%(asctime)s %(levelname)s %(name)s %(message)s' # https://docs.python.org/3/library/time.html#time.strftime datefmt='%Y-%m-%d %H:%M:%S' [formatters.notime] # https://docs.python.org/3/library/logging.html#logrecord-attributes -format='%(name)s %(message)s' +format='%(levelname)s %(name)s %(message)s' # https://docs.python.org/3/library/time.html#time.strftime datefmt='%Y-%m-%d %H:%M:%S'