From bd690df12efb711395fc8fe04dd0ee7d21c2c8ef Mon Sep 17 00:00:00 2001 From: Johannes Findeisen Date: Fri, 7 Oct 2022 00:42:42 +0200 Subject: [PATCH] Added [%(name)s] to stdout logging. --- bin/linspector | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/linspector b/bin/linspector index 94b99a6..d34cd91 100755 --- a/bin/linspector +++ b/bin/linspector @@ -37,7 +37,7 @@ logger = logging.getLogger('linspector') # i currently only increase the 3rd number because the goal is that 0.19.* will become the first # stable version. -__version__ = '0.19.49.dev1' +__version__ = '0.19.50.dev1' __author__ = 'Johannes Findeisen ' @@ -90,7 +90,7 @@ def main(): # initialization of the configuration. maybe there are better solutions...? logger.setLevel(logging.INFO) - stdout_formatter = logging.Formatter('[%(asctime)s] [%(levelname)s] %(message)s') + stdout_formatter = logging.Formatter('[%(asctime)s] [%(levelname)s] [%(name)s] %(message)s') stdout_handler = logging.StreamHandler(sys.stdout) stdout_handler.setFormatter(stdout_formatter) logger.addHandler(stdout_handler)