Skip to content
Snippets Groups Projects
Commit 6b658d1e authored by Thomas Kluyver's avatar Thomas Kluyver
Browse files

Merge branch 'fix/rm-requests-oauthlib-debug' into 'master'

Don't keep DEBUG level logging from requests_oauthlib

See merge request !963
parents 6f3f34e7 17f2d7da
No related branches found
No related tags found
1 merge request!963Don't keep DEBUG level logging from requests_oauthlib
......@@ -406,6 +406,8 @@ def main(argv=None):
)
# DEBUG logs from kafka-python are very verbose, so we'll turn them off
logging.getLogger('kafka').setLevel(logging.INFO)
# Likewise requests_oauthlib
logging.getLogger('requests_oauthlib').setLevel(logging.INFO)
# Treat SIGTERM like SIGINT (Ctrl-C) & do a clean shutdown
signal.signal(signal.SIGTERM, interrupted)
......
......@@ -1526,6 +1526,8 @@ def main(argv: Optional[List[str]] = None):
level=getattr(logging, log_level),
format=fmt
)
# requests_oauthlib DEBUG logs are very verbose, so we'll turn them off
logging.getLogger('requests_oauthlib').setLevel(logging.INFO)
# Ensure that subprocesses (to launch calibration) are launched with the
# venv where this is installed, even if it was not activated in a shell.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment