aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2019-09-15 15:48:56 +0200
committerGravatar Johannes Christ <[email protected]>2019-09-15 15:49:11 +0200
commit1e57d2a9c7d8d8bdf2beeac4dc062c9e7ffe547b (patch)
tree78da4199cfb22be53accc7fe86c7c0fdd63839ef
parentMerge branch 'master' of github.com:python-discord/bot (diff)
Ship `DEBUG` log messages to the site.
-rw-r--r--bot/api.py2
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