[Pdns-users] Logging

Mark Constable markc at renta.net
Sun Mar 4 23:52:18 UTC 2007


I've tried many variations but I still can't seem to
get any live query logging other than startup details.

Using the v2.9.20 sqlite backend on a Debian testing
system. At one point I was getting query info but
after a restart... no more. Anything obvious I may
have missed ?

 log-dns-details=yes
 log-failed-updates=yes
 logfile=/var/log/pdns.log
 logging-facility=0
 loglevel=9
 query-logging=yes
 use-logfile=yes

 % cat /etc/syslog.conf
 #local0.*                       /var/log/pdns.log
 local0.=info                    -/var/log/pdns/info
 local0.=warn                    -/var/log/pdns/warn
 local0.=err                     /var/log/pdns/err

I'd rather have all logging go to just /var/log/pdns.log
but I am trying the documented example above.

And is there a summary of the various log levels and
what kind of output to expect (between say 3, 4 and 9) ?

--markc


More information about the Pdns-users mailing list