set pillow logging to ERROR for coretk-gui

This commit is contained in:
Blake Harnden 2019-12-19 21:28:17 -08:00
parent a674f5bf78
commit eb7d81614e

View file

@ -8,6 +8,7 @@ from core.gui.images import Images
if __name__ == "__main__": if __name__ == "__main__":
log_format = "%(asctime)s - %(levelname)s - %(module)s:%(funcName)s - %(message)s" log_format = "%(asctime)s - %(levelname)s - %(module)s:%(funcName)s - %(message)s"
logging.basicConfig(level=logging.DEBUG, format=log_format) logging.basicConfig(level=logging.DEBUG, format=log_format)
logging.getLogger("PIL").setLevel(logging.ERROR)
Images.load_all() Images.load_all()
appconfig.check_directory() appconfig.check_directory()
app = Application() app = Application()