[Unbound-users] Unbound Log Verbosity

W.C.A. Wijngaards wouter at nlnetlabs.nl
Mon Feb 9 09:12:13 UTC 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJU2HntAAoJEJ9vHC1+BF+NvAEP/2Irnt5de4npoVRoMBDRMN9b
Qe1zvIgH+lCy37gBC0VYeG4u9Z6qf7Y1bih/uzl2qO8MEUaoj8AfNev9ZHC3rnYC
PoQh+uEVd1jm+Tp0A5qRGS3TG730C9jALCmga5QfedeXRZ4oIgNxKtAfvcpsgjaV
kpixV0Qtz3oZ4rfQlCgLbEwvpmLABZdQ4EFnPRCNte49eRXKf7KrjgDIReBRDos5
NT0mJLXwpA7n18DXmVIINpKHLMoiyRZ+ch8hEAA/Fl0EpmM1CMdfUMQntYjfUvnk
Jjb5wiK5msEaz4uu+ZUZ0Cp2dkxRnbzIMu7oSQvB9NjKs7j7wg8wswcxdqzabCit
UbswOtMKmJPnfMg9amNI8nNNx0uz/WaFZG/NljzjbPpoOGIV6rsZkdi57NZ7+ID3
n2BzXPb2qchWac4k9BR8RnzwY8OV2aAiFk7IGGY/Z7gvbxhgn7j3zzuLvNkKBvt6
oE+bsow15lJYaB99KSCoSrYs9AsofZSQQP9mlIFiahoTijAp9wZ6MfpIxEKKkB6f
Aw20ctHfHFtvoXE8CPwulEh11uZs+K3lvG60G5a1u7SMiApaf0pIbyZTjXbqR8B+
w2JIUl+OEtP6n8gIDYSZ359e/AvQqjIK6lZ8/SzCx/5+D+K+fGM94rI0lF/WSoHW
lWP0duxZyx8qIL+ISviZ
=YXIm
-----END PGP SIGNATURE-----



More information about the Unbound-users mailing list