You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the report, I added the option log-only-syslog, that you can enable. That should solve the duplicate log item issue. I do not want to change the default log outputs, because other users may depend on it. So this new item allows to choose between log both syslog and stderr, log to only the logfile (with the logfile option) or log only to syslog with the added log-only-syslog: yes option.
Before syslog takes effect, in the startup sequence, it uses stderr still. This is only when errors cause failure, mostly. But because syslog is not opened yet, that would only print to stderr and thus also no duplicates.
gearnode
pushed a commit
to gearnode/nsd
that referenced
this issue
May 3, 2020
nsd, per default, logs both to stderr and syslog. As systemd forwards
both into journal all messages are included twice.
Ideally one could make nsd just use syslog and nothing else but
this does not seem to be possible.
This bug has been filed in Debian as
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803683
Also originally reported in https://www.nlnetlabs.nl/bugs-script/show_bug.cgi?id=4198
The text was updated successfully, but these errors were encountered: