diff --git a/pdns/auth-main.cc b/pdns/auth-main.cc index 12722088bb2a..8e1699b8006e 100644 --- a/pdns/auth-main.cc +++ b/pdns/auth-main.cc @@ -192,7 +192,7 @@ static void declareArguments() ::arg().set("version-string", "PowerDNS version in packets - full, anonymous, powerdns or custom") = "full"; ::arg().set("control-console", "Debugging switch - don't use") = "no"; // but I know you will! ::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("disable-syslog", "Disable logging to syslog, useful when running inside a supervisor that logs stderr") = "no"; ::arg().set("log-timestamp", "Print timestamps in log lines") = "yes"; ::arg().set("distributor-threads", "Default number of Distributor (backend) threads to start") = "3"; ::arg().set("signing-threads", "Default number of signer threads to start") = "3"; diff --git a/pdns/recursordist/rec-main.cc b/pdns/recursordist/rec-main.cc index f46d32eab1c6..4534f4148403 100644 --- a/pdns/recursordist/rec-main.cc +++ b/pdns/recursordist/rec-main.cc @@ -2819,8 +2819,8 @@ static void initArgs() ::arg().set("daemon", "Operate as a daemon") = "no"; ::arg().setSwitch("write-pid", "Write a PID file") = "yes"; ::arg().set("loglevel", "Amount of logging. Higher is more. Do not set below 3") = "6"; - ::arg().set("disable-syslog", "Disable logging to syslog, useful when running inside a supervisor that logs stdout") = "no"; - ::arg().set("log-timestamp", "Print timestamps in log lines, useful to disable when running with a tool that timestamps stdout already") = "yes"; + ::arg().set("disable-syslog", "Disable logging to syslog, useful when running inside a supervisor that logs stderr") = "no"; + ::arg().set("log-timestamp", "Print timestamps in log lines, useful to disable when running with a tool that timestamps stderr already") = "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"