From 77d36eb1bf8c3c7d30b5c6015c00b23d1fe13d6b Mon Sep 17 00:00:00 2001 From: Scragly <29337040+scragly@users.noreply.github.com> Date: Sun, 21 Apr 2019 06:22:20 +1000 Subject: Suppress excessive PIL debug logs. --- bot/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'bot/__init__.py') diff --git a/bot/__init__.py b/bot/__init__.py index 21ff8c97..7c564178 100644 --- a/bot/__init__.py +++ b/bot/__init__.py @@ -54,6 +54,7 @@ if root.handlers: # Silence irrelevant loggers logging.getLogger("discord").setLevel(logging.ERROR) logging.getLogger("websockets").setLevel(logging.ERROR) +logging.getLogger("PIL").setLevel(logging.ERROR) # Setup new logging configuration logging.basicConfig( -- cgit v1.2.3