silenced noisy modules

This commit is contained in:
Brian Bjarke Jensen
2024-06-15 16:15:45 +02:00
parent f3aab68d5f
commit b093154193
+2
View File
@@ -20,4 +20,6 @@ def setup_logging() -> None:
logging.basicConfig(format=fmt, datefmt=datefmt, level=level)
# change levels for modules that spam the log
logging.getLogger('pymongo').setLevel(logging.WARNING)
logging.getLogger('urllib3').setLevel(logging.INFO)
logging.getLogger('PIL').setLevel(logging.INFO)
logging.debug('finished')