[Unbound-users] Unbound Log Verbosity
wouter at nlnetlabs.nl
Wed Feb 11 07:30:12 CET 2015
-----BEGIN PGP SIGNED MESSAGE-----
It is use-syslog: yes, not syslog: yes.
On 02/10/2015 07:40 PM, unbound at fongaboo.com wrote:
> Thank you.
> Strangely, I found no entries in unbound.conf related to logging
> other than the verbosity.
> I tried adding...
> syslog: yes log-queries: yes
> ...but when I run unbound-checkconf, I got:
> /var/unbound/unbound.conf:8: error: unknown keyword 'syslog'
> /var/unbound/unbound.conf:8: error: stray ':'
> /var/unbound/unbound.conf:8: error: unknown keyword 'yes' read
> /var/unbound/unbound.conf failed: 3 errors in configuration file
> On Mon, 9 Feb 2015, W.C.A. Wijngaards wrote:
> Hi Fongaboo,
> On 09/02/15 04:34, unbound at fongaboo.com wrote:
>>>> I raised verbosity to 5 and reloaded. Confirmed:
>>>> | /etc/unbound # unbound-control status | version: 1.4.20 |
>>>> verbosity: 5 | threads: 4 | modules: 2 [ validator iterator ]
>>>> | uptime: 600 seconds | unbound (pid 66544) is running...
>>>> Shouldn't I be able to see individual queries?
> Yes, it logs every query in detail, and with query source. Where
> is unbound logging to? Syslog or a log file? The last statement
> in unbound.conf determines which one (use syslog yes or use
> log-file filename). You could try to use a logfile, because
> perhaps the syslog connection fails and unbound cannot log at all
> (because syslog is thwarted by chroot or permissions perhaps).
> Unbound needs to be able to (re)open the log-file (as file
> permissions), so the logfile, and perhaps directory, has to allow
> those permissions. When you kill -HUP unbound it attempts to
> re-open the logfile with its (downlevelled) user permissions - this
> is for log file rotation - but if it does not have permission it
> cannot log.
> Best regards, Wouter
shot through the heart ooh baby do you know what that's
>>>> and you're to blame ooh heaven is a
>>>> place on earth darling you give love they
>>>> say in heaven love comes first a bad name
>>>> we'll make heaven a place on earth ORBITAL "Halcyon Live"
>>>> _______________________________________________ Unbound-users
>>>> mailing list Unbound-users at unbound.net
>> _______________________________________________ Unbound-users
>> mailing list Unbound-users at unbound.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
-----END PGP SIGNATURE-----
More information about the Unbound-users