From 69b03bd2985a53ef988a641d8caac7bc62d7fd94 Mon Sep 17 00:00:00 2001 From: Paul Natsuo Kishimoto Date: Wed, 3 Apr 2024 11:19:00 +0200 Subject: [PATCH] Quiet logging from PIL --- message_ix_models/util/_logging.py | 1 + 1 file changed, 1 insertion(+) diff --git a/message_ix_models/util/_logging.py b/message_ix_models/util/_logging.py index 7dc575d128..e1ff50ae56 100644 --- a/message_ix_models/util/_logging.py +++ b/message_ix_models/util/_logging.py @@ -228,6 +228,7 @@ def configure(): # Hide lower-level messages for some upstream packages from the file log ("graphviz._tools", logging.WARNING), ("matplotlib", logging.WARNING), + ("PIL", logging.INFO), ("pycountry.db", logging.WARNING), ): logging.getLogger(name).setLevel(level)