summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormorpheus65535 <[email protected]>2021-03-11 12:44:39 -0500
committermorpheus65535 <[email protected]>2021-03-11 12:44:39 -0500
commit00a6437e230e5f2e2c5f25824c004d1f57ec1b8c (patch)
tree1ce7ce7d1d22489b51ff2fe4dd05c600ca895444
parentcdaa38f6f1279b2660df993953a351b35f0bf7d1 (diff)
downloadbazarr-00a6437e230e5f2e2c5f25824c004d1f57ec1b8c.tar.gz
bazarr-00a6437e230e5f2e2c5f25824c004d1f57ec1b8c.zip
Prevent DNS fall back to default server to flood debug log.
-rw-r--r--libs/subliminal_patch/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/subliminal_patch/http.py b/libs/subliminal_patch/http.py
index 204924b04..4eecdbcc8 100644
--- a/libs/subliminal_patch/http.py
+++ b/libs/subliminal_patch/http.py
@@ -362,7 +362,7 @@ def patch_create_connection():
except dns.exception.DNSException:
logger.warning("DNS: Couldn't resolve %s with DNS: %s", host, custom_resolver.nameservers)
- logger.debug("DNS: Falling back to default DNS or IP on %s", host)
+ # logger.debug("DNS: Falling back to default DNS or IP on %s", host) <-- commented because it makes way too much noise in debug logs
return _orig_create_connection((host, port), *args, **kwargs)
patch_create_connection._sz_patched = True