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

fix logging
pull/31130/head
Justin Newberry 2 years ago committed by GitHub
parent 65490bb3c5
commit 0234cadec3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      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())

Loading…
Cancel
Save