LogReader: remove redirect message for internal data (#31088)

fix logging
old-commit-hash: 0234cadec3aefdca2e71c251ff6f8885a247c34a
This commit is contained in:
Justin Newberry
2024-01-23 12:55:50 -08:00
committed by GitHub
parent c5c522c984
commit 0fb7448a9d
+2
View File
@@ -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())