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