Logging issue with bind

Chris Thompson cet1 at cam.ac.uk
Thu Feb 16 18:02:05 UTC 2012


On Feb 16 2012, Phil Mayers wrote:

>On 02/16/2012 09:48 AM, Raven wrote:
>> Hi guys.
>> I am currently trying to setup query logging with bind on a debian
>> server, but I seem unable to.
>> I have the exact same setup on another debian box and it works
>> flawlessly. I've been scratching my head all morning..
>>
>> My configuration:
>> /etc/bind/named.conf:
>>
>> logging {
>>    channel munin_log {
>>      file "/var/log/bind9/query.log" versions 30 size 15m;
>>      severity dynamic;
>
>"severity dynamic" starts at 0 i.e. off.

No 0 is equivalent to "info", except in one case:

ARM> The default_debug channel has the special property that it only
ARM> produces output when the server's debug level is nonzero.

It's actually quite a pain that one can't define one's own channels
with that "special property".

-- 
Chris Thompson
Email: cet1 at cam.ac.uk



More information about the bind-users mailing list