From d99d5e7a76ccfe4b8538bb6930edfbb2fad84b63 Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Fri, 28 Sep 2018 10:58:11 +0200 Subject: improving a comment. why is this a commit. I'm so sorry. --- bot/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3