[Pdns-users] Syslog not logging to configured facility

Pieter Lexis pieter.lexis at powerdns.com
Fri Dec 2 21:09:41 UTC 2016


Hi Nick,

On Thu, 1 Dec 2016 23:11:04 +0200
Nikolaos Milas <nmilas at admin.noa.gr> wrote:
> In my system, rsyslog is in fact enabled and working. For example, 
> openldap which writes to local4 (per the default configuration) works 
> fine (via local4).
> 
> In any case, the log entries *do* reach /var/log/messages, as I have 
> explained. So rsyslog DOES receive them, but they do not seem to reach 
> localN (where N=0,...) facility.
> 
> What else may be the problem?

This is because the systemd-journal is forwarded to syslog. You will need to remove the --disable-syslog flag from the PowerDNS Exec command in the service file to make PowerDNS *itself* log to syslog.

Cheers,

Pieter
-- 
Pieter Lexis
PowerDNS.COM BV -- https://www.powerdns.com


More information about the Pdns-users mailing list