mirror of
https://github.com/morpheus65535/bazarr.git
synced 2026-02-28 11:34:13 +08:00
Prevent DNS fall back to default server to flood debug log.
This commit is contained in:
parent
cdaa38f6f1
commit
00a6437e23
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue