aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2018-09-28 10:58:11 +0200
committerGravatar Leon Sandøy <[email protected]>2018-09-28 10:58:11 +0200
commitd99d5e7a76ccfe4b8538bb6930edfbb2fad84b63 (patch)
tree3a6a408bfa9e240fe50e4628f4e5aacaa6195395
parentIgnore all DMs in the antispam cog (diff)
improving a comment. why is this a commit. I'm so sorry.
-rw-r--r--bot/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/__init__.py b/bot/__init__.py
index 080e2a75a..54550842e 100644
--- a/bot/__init__.py
+++ b/bot/__init__.py
@@ -88,7 +88,7 @@ for key, value in logging.Logger.manager.loggerDict.items():
value.addHandler(handler)
-# Silence aio_pika.pika.{callback,channel}, discord, PIL, and and websockets
+# Silence irrelevant loggers
logging.getLogger("aio_pika").setLevel(logging.ERROR)
logging.getLogger("discord").setLevel(logging.ERROR)
logging.getLogger("PIL").setLevel(logging.ERROR)