From: bert hubert Date: Fri, 22 Jul 2016 13:20:32 +0000 (+0200) Subject: turn off the logging of common errors by default. In high traffic situations with... X-Git-Tag: auth-4.0.1~26^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=22e0810c262c09d376a73356521f49586b99d020;p=thirdparty%2Fpdns.git turn off the logging of common errors by default. In high traffic situations with synchronous logging, this is dangerous. --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index a4a66d9f85..66f7ad78ef 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -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")="";