diff options
| author | 2018-09-28 10:58:11 +0200 | |
|---|---|---|
| committer | 2018-09-28 10:58:11 +0200 | |
| commit | d99d5e7a76ccfe4b8538bb6930edfbb2fad84b63 (patch) | |
| tree | 3a6a408bfa9e240fe50e4628f4e5aacaa6195395 | |
| parent | Ignore all DMs in the antispam cog (diff) | |
improving a comment. why is this a commit. I'm so sorry.
| -rw-r--r-- | bot/__init__.py | 2 |
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) |