From 0234cadec3aefdca2e71c251ff6f8885a247c34a Mon Sep 17 00:00:00 2001 From: Justin Newberry Date: Tue, 23 Jan 2024 12:55:50 -0800 Subject: [PATCH] LogReader: remove redirect message for internal data (#31088) fix logging --- tools/lib/url_file.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/lib/url_file.py b/tools/lib/url_file.py index 97c0a639a7..5c6f187eee 100644 --- a/tools/lib/url_file.py +++ b/tools/lib/url_file.py @@ -1,3 +1,4 @@ +import logging import os import time import threading @@ -12,6 +13,7 @@ from openpilot.system.hardware.hw import Paths K = 1000 CHUNK_SIZE = 1000 * K +logging.getLogger("urllib3").setLevel(logging.WARNING) def hash_256(link): hsh = str(sha256((link.split("?")[0]).encode('utf-8')).hexdigest())