aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Scragly <[email protected]>2019-04-21 06:22:20 +1000
committerGravatar Scragly <[email protected]>2019-04-21 06:22:20 +1000
commit77d36eb1bf8c3c7d30b5c6015c00b23d1fe13d6b (patch)
tree15cf091f071a43dd077fdf98812aed53331c5adc
parentMerge pull request #184 from RohanRadia/master (diff)
Suppress excessive PIL debug logs.
-rw-r--r--bot/__init__.py1
1 files changed, 1 insertions, 0 deletions
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(