aboutsummaryrefslogtreecommitdiff
path: root/src/Logging.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-10-09 17:54:12 +0100
committerGravatar jesopo2019-10-09 17:54:12 +0100
commit51a4a4253c99cc4d3b8f3999924e345586aa9aee (patch)
treeb1238ad7744e97adc7ab83d9bca053b1f6176282 /src/Logging.py
parentstdout output should just be WARN - put INFO in to a daily file (diff)
signature
`-V` command line arg should still effect stdout
Diffstat (limited to 'src/Logging.py')
-rw-r--r--src/Logging.py2
1 files changed, 1 insertions, 1 deletions
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)