diff options
| author | 2019-04-21 06:22:20 +1000 | |
|---|---|---|
| committer | 2019-04-21 06:22:20 +1000 | |
| commit | 77d36eb1bf8c3c7d30b5c6015c00b23d1fe13d6b (patch) | |
| tree | 15cf091f071a43dd077fdf98812aed53331c5adc /bot | |
| parent | Merge pull request #184 from RohanRadia/master (diff) | |
Suppress excessive PIL debug logs.
Diffstat (limited to 'bot')
| -rw-r--r-- | bot/__init__.py | 1 |
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( |