Views:
995β
Votes: 4β
β
Solution
Tags:
python
logging
Link:
π See Original Answer on Stack Overflow β§ π
URL:
https://stackoverflow.com/q/67352300
Title:
Unknown python DEBUG statements appear
ID:
/2021/05/02/Unknown-python-DEBUG-statements-appear
Created:
May 2, 2021
Upload:
December 22, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
Turns out itβs a glitch in tkinterβs pillow (PIL).
The solution is a simple one-liner after the import:
import logging
logging.getLogger('PIL').setLevel(logging.WARNING)