]> granicus.if.org Git - pdns/commitdiff
dnsdist: Don't log an error when parsing an invalid UDP query
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 21 Jul 2016 14:11:06 +0000 (16:11 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 21 Jul 2016 14:11:06 +0000 (16:11 +0200)
It can still be displayed in verbose mode, but we don't want to
flood our logs for this.

pdns/dnsdist.cc

index a0a550dca19cd52c4818f7c46ebdae2969d7a7cd..6645955fded338b7e033a4738de4e97cfdc52470 100644 (file)
@@ -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;