diff options
author | 2019-09-15 15:48:56 +0200 | |
---|---|---|
committer | 2019-09-15 15:49:11 +0200 | |
commit | 1e57d2a9c7d8d8bdf2beeac4dc062c9e7ffe547b (patch) | |
tree | 78da4199cfb22be53accc7fe86c7c0fdd63839ef | |
parent | Merge branch 'master' of github.com:python-discord/bot (diff) |
Ship `DEBUG` log messages to the site.
-rw-r--r-- | bot/api.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/api.py b/bot/api.py index 9a0ebaa26..3acde242e 100644 --- a/bot/api.py +++ b/bot/api.py @@ -124,7 +124,7 @@ class APILoggingHandler(logging.StreamHandler): # 1. Do not log anything below `DEBUG`. This is only applicable # for the monkeypatched `TRACE` logging level, which has a # lower numeric value than `DEBUG`. - record.levelno > logging.DEBUG + record.levelno >= logging.DEBUG # 2. Ignore logging messages which are sent by this logging # handler itself. This is required because if we were to # not ignore messages emitted by this handler, we would |