Hello unbound-users,
I'm using unbound on FreeBSD with syslog from FreeBSD ports. Query logs were
written in it when I started unbound first, but unbound didn't write any query
logs in it after I sent HUP to unbound with kill command. Unbound just wrote
"Restart of unbound 1.1.1.", never logs were written then.
I looked over some source files and found that unbound wrote query logs to
syslog when closelog() in util/log.c was commented out, but I don't know why
it did so. I don't have confidence whether this is correct. Does anyone solve
the same problem without touching source codes, or does this problem depend on
FreeBSD?
Thanks.
% uname -srm
FreeBSD 7.0-RC1 i386
(FreeBSD 6.4-RELEASE i386 is also occured)
% cat /usr/local/etc/unbound/unbound.conf
server:
verbosity: 2
interface: 0.0.0.0
do-ip6: no
access-control: 0.0.0.0/0 refuse
access-control: 192.168.0.0/32 allow
directory: ""
logfile: ""
use-syslog: yes
root-hints: "/named.cache"
% cat /etc/syslog.conf
(snip)
!unbound
*.* /var/log/unbound.log
-- Atsushi
_______________________________________________
Unbound-users mailing list
[email protected]
http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users