From d659e7ee082b7063c210f9d6d4cad2d80c191880 Mon Sep 17 00:00:00 2001 From: Simon Zolin Date: Wed, 7 Aug 2019 15:35:06 +0300 Subject: [PATCH] * rDNS: make log messages' level = debug --- home/rdns.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/home/rdns.go b/home/rdns.go index 4f86c0b0..9ea11a26 100644 --- a/home/rdns.go +++ b/home/rdns.go @@ -83,7 +83,7 @@ func resolveRDNS(ip string) string { resp, err := config.dnsctx.upstream.Exchange(&req) if err != nil { - log.Error("Error while making an rDNS lookup for %s: %s", ip, err) + log.Debug("Error while making an rDNS lookup for %s: %s", ip, err) return "" } if len(resp.Answer) != 1 { @@ -92,7 +92,7 @@ func resolveRDNS(ip string) string { } ptr, ok := resp.Answer[0].(*dns.PTR) if !ok { - log.Error("not a PTR response for %s", ip) + log.Debug("not a PTR response for %s", ip) return "" }