Skip to content

Commit

Permalink
auth, rec: update option text to clarify logging is to stderr, not st…
Browse files Browse the repository at this point in the history
…dout
  • Loading branch information
Habbie committed Jul 5, 2023
1 parent 4dabc73 commit 71e89ce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pdns/auth-main.cc
Expand Up @@ -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";
Expand Down
4 changes: 2 additions & 2 deletions pdns/recursordist/rec-main.cc
Expand Up @@ -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"
Expand Down

0 comments on commit 71e89ce

Please sign in to comment.