FreeBSD-11 - local_unbound logging
Polytropon
freebsd at edvax.de
Sun Aug 13 14:19:07 UTC 2017
On Sun, 13 Aug 2017 10:02:43 -0400, James B. Byrne via freebsd-questions wrote:
> I do not get any errors from unbound-checkconf and the local_unbound
> service starts but there is no logfile created; at least none where I
> expect it to be (/var/unbound/log/unbound.log).
DId you try creating the logfile itself so unbound can append
to that file (read: append to an _existing_ file)?
Try this first:
# touch /var/unbound/log/unbound.log
and restart the service. Also check your configuration file:
You can provide an absolute path for the logfile (for example
with the path and name listed above), so the entry would be:
logfile: "/var/unbound/log/unbound.log"
See "man 5 unbound.conf" for details.
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list