From: Pieter Lexis Date: Fri, 16 Dec 2016 13:24:39 +0000 (+0100) Subject: Document disable-syslog intereaction with systemd X-Git-Tag: dnsdist-1.1.0~14^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F4774%2Fhead;p=thirdparty%2Fpdns.git Document disable-syslog intereaction with systemd See #4713 for context --- diff --git a/docs/markdown/authoritative/running.md b/docs/markdown/authoritative/running.md index d3bae4769f..65201ca8e8 100644 --- a/docs/markdown/authoritative/running.md +++ b/docs/markdown/authoritative/running.md @@ -20,6 +20,11 @@ interpreted by the guardian, which causes the guardian to sever the connection to the inner process and terminate it, after which it terminates itself. Requests that require data from the actual nameserver are passed to the inner process as well. +## Logging to syslog on systemd-based operating systems +By default, logging to syslog is disabled in the the systemd unit file to prevent the service logging twice, as the systemd journal picks up the output from the process itself. + +Removing the `--disable-syslog` option from the `ExecStart` line using `systemctl edit --full pdns` enables logging to syslog. + # Controlling A Running PowerDNS Server As a DNS server is critical infrastructure, downtimes should be avoided as much as possible. Even though PowerDNS (re)starts very fast, it offers a way to