Turn off logging by charset_normalizer (which may be used by requests).
This commit is contained in:
parent
bbf33df657
commit
3f65a21ffd
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ def init():
|
||||||
handler.setFormatter(Formatter())
|
handler.setFormatter(Formatter())
|
||||||
logging.root.addHandler(handler)
|
logging.root.addHandler(handler)
|
||||||
logging.root.setLevel(logging.INFO)
|
logging.root.setLevel(logging.INFO)
|
||||||
|
logging.getLogger("charset_normalizer").disabled = True
|
||||||
|
|
||||||
|
|
||||||
def show_debug():
|
def show_debug():
|
||||||
|
|
Loading…
Add table
Reference in a new issue