In message <1249836935.3123.24.ca...@osmosis.gnet.eu>, Raven writes: > Hi all. > I have just deployed a bind installation (freebsd port v9.4.3-P2) and I > seem to be unable to have it log the queries. > This is the section I put in named.conf: > > logging { > channel munin_log { > file "/var/log/bind9/query.log" versions 7 size 100m; > severity dynamic; > print-time yes; }; > > category queries { > munin_log; }; > }; > > > What's weird is that if I start bind from the cli with > "named -f -c /etc/namedb/named.conf -d 3" > then the queries are correctly logged to the desired file. > Any suggestions to fix this?
Remove the severity clause. "severity dynamic;" is only printed to when debugging is enabled. This is what I use. channel query_channel { file "log/query" versions 5 size 1M; print-time yes; }; category queries { query_channel; }; Mark > > -RV > > _______________________________________________ > bind-users mailing list > bind-users@lists.isc.org > https://lists.isc.org/mailman/listinfo/bind-users -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: ma...@isc.org _______________________________________________ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users