From: Remi Gacogne Date: Wed, 26 Feb 2020 10:18:35 +0000 (+0100) Subject: rec: Only log qname parsing errors when 'log-common-errors' is set X-Git-Tag: rec-4.2.2~4^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F8869%2Fhead;p=thirdparty%2Fpdns.git rec: Only log qname parsing errors when 'log-common-errors' is set (cherry picked from commit 4b4566e8d28ff3b18152213e8c8666aa643f8eb9) --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index d5f05dee87..9aa6c3ed89 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -2262,7 +2262,8 @@ static string* doProcessUDPQuestion(const std::string& question, const ComboAddr } } catch(std::exception& e) { - g_log<