PowerDNS: Difference between revisions
From Lolly's Wiki
Jump to navigationJump to search
No edit summary |
|||
Line 1: | Line 1: | ||
[[Kategorie: DNS]] | [[Kategorie: DNS]] | ||
=PowerDNS Server= | =PowerDNS Server (pdns_server)= | ||
==Logging with systemd and syslog-ng== | ==Logging with systemd and syslog-ng== |
Revision as of 08:33, 1 July 2016
PowerDNS Server (pdns_server)
Logging with systemd and syslog-ng
1. Tell the journald of systemd to forward messages to syslog: In /etc/systemd/journald.conf set it from
#ForwardToSyslog=yes
to
ForwardToSyslog=yes
Then restart the journald
# systemctl restart systemd-journald.service
2. Tell syslog-ng to take the dev-log-socket from journald as input:
Change the part in /etc/syslog-ng/syslog-ng.conf from
source s_src {
system();
internal();
};
to
source s_src {
system();
internal();
unix-dgram ("/run/systemd/journal/dev-log");
};