From: Remi Gacogne Date: Thu, 21 Jul 2016 14:11:06 +0000 (+0200) Subject: dnsdist: Don't log an error when parsing an invalid UDP query X-Git-Tag: auth-4.0.1~27^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7184b68d8dff7942da930a736afc1d957e1c6391;p=pdns dnsdist: Don't log an error when parsing an invalid UDP query It can still be displayed in verbose mode, but we don't want to flood our logs for this. --- diff --git a/pdns/dnsdist.cc b/pdns/dnsdist.cc index a0a550dca..6645955fd 100644 --- a/pdns/dnsdist.cc +++ b/pdns/dnsdist.cc @@ -1092,7 +1092,7 @@ try vinfolog("Got query from %s, relayed to %s", remote.toStringWithPort(), ss->getName()); } catch(std::exception& e){ - errlog("Got an error in UDP question thread while parsing a query from %s, id %d: %s", remote.toStringWithPort(), queryId, e.what()); + vinfolog("Got an error in UDP question thread while parsing a query from %s, id %d: %s", remote.toStringWithPort(), queryId, e.what()); } } return 0;