From 51a4a4253c99cc4d3b8f3999924e345586aa9aee Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 9 Oct 2019 17:54:12 +0100 Subject: `-V` command line arg should still effect stdout --- src/Logging.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/Logging.py b/src/Logging.py index 94114a51..8c141c8f 100644 --- a/src/Logging.py +++ b/src/Logging.py @@ -29,7 +29,7 @@ class Log(object): formatter = BitBotFormatter("%(asctime)s [%(levelname)s] %(message)s") stdout_handler = logging.StreamHandler(sys.stdout) - stdout_handler.setLevel(LEVELS["warn"]) + stdout_handler.setLevel(stdout_level) stdout_handler.setFormatter(formatter) self.logger.addHandler(stdout_handler) -- cgit v1.3.1-10-gc9f91