Specify the log file and the verbosity level in the server part of the Unbound configuration file.
For example:
server: # If no logfile is specified, syslog is used. logfile: "/var/log/unbound/unbound.log" verbosity: 1
NOTE: It is not recommended to increase verbosity for daily use, as unbound logs a lot.
But it might be helpful for debugging purposes.
The levels of verbosity:
sudo mkdir -p /var/log/unbound sudo touch /var/log/unbound/unbound.log sudo chown unbound /var/log/unbound/unbound.log
sudo service unbound restart