diff options
| author | 2019-10-09 17:54:12 +0100 | |
|---|---|---|
| committer | 2019-10-09 17:54:12 +0100 | |
| commit | 51a4a4253c99cc4d3b8f3999924e345586aa9aee (patch) | |
| tree | b1238ad7744e97adc7ab83d9bca053b1f6176282 /src | |
| parent | stdout 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')
| -rw-r--r-- | src/Logging.py | 2 |
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) |
