Unbound: changing logging settings has no effect

Hi.
I wanted to change the logging behaviour of unbound in order to get rid of “info” messages spamming in /var/log/messages…

First I used a new file in /etc/unbound/local.d/logging.conf
server:
verbosity: 0
val-log-level: 0
use-syslog: yes
log-time-ascii: yes
log-queries: no
log-replies: no
log-local-actions: no
log-servfail: yes

- → sudo /etc/init.d/unbound restart

- → unbound-control get_option verbosity
returned 0
so it seems that the parameter is set correctly.

BUT the /var/log/messages still gets spammed

I then put these params in
/etc/unbound/unbound.conf

with the same result

Finally I set use-syslog: no

but still get the info messages…

Any idea?

Thank You

I wouldn’t spend a lot of time trying to do anything with unbound as from CU203 unbound will no longer be used.

unbound has been replaced by knot-resolver in CU203 and that version is currently in the Testing phase.

https://www.ipfire.org/blog/ipfire-2-29-core-update-203-is-available-for-testing