From 22e0810c262c09d376a73356521f49586b99d020 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Fri, 22 Jul 2016 15:20:32 +0200 Subject: [PATCH] turn off the logging of common errors by default. In high traffic situations with synchronous logging, this is dangerous. --- pdns/pdns_recursor.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index a4a66d9f8..66f7ad78e 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")=""; -- 2.40.0