]> granicus.if.org Git - pdns/commitdiff
turn off the logging of common errors by default. In high traffic situations with...
authorbert hubert <bert.hubert@netherlabs.nl>
Fri, 22 Jul 2016 13:20:32 +0000 (15:20 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Fri, 22 Jul 2016 13:20:32 +0000 (15:20 +0200)
pdns/pdns_recursor.cc

index a4a66d9f85b5e47437374ab285a39f081bb71cbb..66f7ad78efd81a8f8b3b95d91ff6b097e5263f48 100644 (file)
@@ -2876,7 +2876,7 @@ int main(int argc, char **argv)
     ::arg().setSwitch("write-pid","Write a PID file")="yes";
     ::arg().set("loglevel","Amount of logging. Higher is more. Do not set below 3")="4";
     ::arg().set("disable-syslog","Disable logging to syslog, useful when running inside a supervisor that logs stdout")="no";
-    ::arg().set("log-common-errors","If we should log rather common errors")="yes";
+    ::arg().set("log-common-errors","If we should log rather common errors")="no";
     ::arg().set("chroot","switch to chroot jail")="";
     ::arg().set("setgid","If set, change group id to this gid for more security")="";
     ::arg().set("setuid","If set, change user id to this uid for more security")="";