aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2019-09-15 15:53:42 +0200
committerGravatar Leon Sandøy <[email protected]>2019-09-15 15:53:42 +0200
commite066904e1bb97889dbf41da000520ec6dc1d5e6b (patch)
tree3cfa3d3995b40b9bacdfe85f3596e3542ead237a
parentSetting the config to work with the pydis server. (diff)
parentShip `DEBUG` log messages to the site. (diff)
Merge branch 'master' of github.com:python-discord/bot
-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