diff --git a/descarteslabs/core/common/http/session.py b/descarteslabs/core/common/http/session.py index bf53fb45..dfc19eb2 100644 --- a/descarteslabs/core/common/http/session.py +++ b/descarteslabs/core/common/http/session.py @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. +import logging import uuid from http import HTTPStatus @@ -37,6 +38,10 @@ from .proxy import ProxyAuthentication +# Disable warnings for retries etc +logging.getLogger("urllib3").setLevel(logging.ERROR) +logging.getLogger("urllib3").propagate = False + class HttpHeaderKeys: RequestGroup = "X-Request-Group"