Merge pull request #115 from AndrewKvalheim/log-level
Quiet urllib3 logs
This commit is contained in:
commit
1bb8c9d2b7
1 changed files with 1 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue