Have urllib3 shut up

This commit is contained in:
polyfloyd 2024-01-14 13:52:25 +01:00
parent 37bef7f64e
commit a1cfecc155

View file

@ -5,6 +5,8 @@ import logging
def main(product_file):
logging.basicConfig(level=logging.DEBUG)
logging.getLogger("requests").setLevel(logging.WARNING)
logging.getLogger("urllib3").setLevel(logging.WARNING)
with open(product_file, 'r') as fd:
src = fd.read()