diff options
| -rw-r--r-- | bot/__init__.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bot/__init__.py b/bot/__init__.py index df168cba4..5a446d71c 100644 --- a/bot/__init__.py +++ b/bot/__init__.py @@ -88,7 +88,9 @@ for key, value in logging.Logger.manager.loggerDict.items(): value.addHandler(handler) -# Silence discord and websockets +# Silence aio_pika.pika.{callback,channel}, discord, PIL, and and websockets +logging.getLogger("aio_pika.pika.callback").setLevel(logging.ERROR) +logging.getLogger("aio_pika.pika.channel").setLevel(logging.ERROR) logging.getLogger("discord.client").setLevel(logging.ERROR) logging.getLogger("discord.gateway").setLevel(logging.ERROR) logging.getLogger("discord.state").setLevel(logging.ERROR) |