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: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4220%2Fhead;p=thirdparty%2Fpdns.git 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 a0a550dca1..6645955fde 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;