The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 235β€…    Votes:  3β€…    βœ… 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: November 24, 2022    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)
⇧ Ubuntu 20.04 LTS can not resume after suspending How to change the IP address of an installed printer?  β‡©