Skip to content

Commit

Permalink
Quiet logging from PIL
Browse files Browse the repository at this point in the history
  • Loading branch information
khaeru committed Apr 3, 2024
1 parent 402fede commit 69b03bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions message_ix_models/util/_logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 69b03bd

Please sign in to comment.