[Unbound-users] Unbound Log Verbosity
W.C.A. Wijngaards
wouter at nlnetlabs.nl
Wed Feb 11 06:30:12 UTC 2015
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Fongaboo,
It is use-syslog: yes, not syslog: yes.
Best regards,
Wouter
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
> worth
>>>> 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
>>>> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
>
>> _______________________________________________ Unbound-users
>> mailing list Unbound-users at unbound.net
>> http://unbound.nlnetlabs.nl/mailman/listinfo/unbound-users
>>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAEBAgAGBQJU2vb0AAoJEJ9vHC1+BF+N7+QP/3YzScebjv+mcUnvrYcX1WUH
QEax82tI0m6jhWWo3J9VXiek3tw10frmNP5GZUUi74hvp/b/id3mkusK6vAhcOSF
G0PEhVr9F7Hdvay39GzMspJjkhiWkh5HSTcMBfo74jqsC2Y0K6vWWVcxqOYEk3/C
Rhgv/C0ZOSAS3u7u7xKS16TjSd8o4iI+BbqCGkSBfUlfgqsaBOrE1XnyDjkycXgd
IRfNMDUpJiAkqeB9VzHkUUVaJLw97tXk5QXbo5uMleizSpsUpE/4fyLYg15fW6xb
fsxSWsTtClxtz9cjvfNH0ALLVoe6Tdyfq7QcRJHSBdx92gRhj6fm7WB6c1uhwwTq
LBVzoqiC2cNPARy7bHYC5r0gH88Fs2d/XO8AUuzP4HskOmngVWST2PBwzXS4UWKN
NuI6UQ+FqTxiUYTFTl0Fmsu6VoW9LS6OFbT1N4NLcWBsNhn3MJP9jrIw62TRs0lH
1lFD7mjqUyeuMZkIWw4Ieg2O/xcvbX1BS3u/ZnUt4E0HfOe4MhNpIykShA9ZPNGF
06HMv981FFvu5Il6C57IOPdlI+DHoSFbqsqKVPqkDaJoYAO1ByFsX+0mJhvOBrar
72uq/jaiT8wOxKU2RAKE80GTHWHhhb9qOzHijkqRJJbnPpB7BbfpDgiqRNHDF+mv
jf36ZUmMXWA2iHf8r3S/
=8ZLP
-----END PGP SIGNATURE-----
More information about the Unbound-users
mailing list