aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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