Hi Andreas,
I think you can do that by setting log-only-log to false and setting
log-file to stderr. By default the log functions use the "log_file"
function and that's only updated if log-only-syslog is true or no value
is provided for log-file (nsd.c:1481).
Of course, stderr is lost once the daemon goes to the background, so
you might want to specify a filename depending on your situation.
- Jeroen
On Mon, 2023-01-09 at 13:03 +0100, A. Schulze via nsd-users
wrote:> Hello
>
> the options logfile & log-only-syslog do not let me say "use
STDERR
> only"
> is this intended? How can I make sure, nsd never send data to
> /dev/log?
>
> I can live with "is not implemented" but I wanted this to be
asked...
>
> Andreas
> _______________________________________________
> nsd-users mailing list
> nsd-users at lists.nlnetlabs.nl
> https://lists.nlnetlabs.nl/mailman/listinfo/nsd-users