set pillow logging to ERROR for coretk-gui
This commit is contained in:
parent
a674f5bf78
commit
eb7d81614e
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue