Merge pull request #115 from AndrewKvalheim/log-level

Quiet urllib3 logs
This commit is contained in:
Michael 2024-04-22 19:37:24 +01:00 committed by GitHub
commit 1bb8c9d2b7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1243,6 +1243,7 @@ if __name__ == "__main__":
arguments = argparser.parse_args()
logging.getLogger("urllib3").setLevel(logging.WARNING)
logging.basicConfig(
format=f"%(asctime)s.%(msecs)03d {time.strftime('%Z')}: %(message)s",
datefmt="%Y-%m-%d %H:%M:%S",