NOTIFY logging problem

Mark Andrews marka at isc.org
Mon Feb 1 02:12:56 UTC 2010


In message <ED6E4C848E8FEF4B16E71B37 at 181.sub-97-18-81.myvzw.com>, Frank Cusack 
writes:
> On February 1, 2010 11:35:15 AM +1100 Mark Andrews <marka at isc.org> wrote:
> > You need to be looking a debug 3.
> >
> >         notify_log(notify->zone, ISC_LOG_DEBUG(3), "sending notify to %s",
> >                    addrbuf);
> 
> ouch, debug 3 is probably way TMI.  I guess I'll just patch the above
> to log at info.  Why isn't that the default anyway?  Seems to me that
> you aren't likely to have "too many" servers and the "info" level is
> already pretty verbose so you would expect (or at least *I* would expect)
> to have that amount of information.

When you have 100000+ zones with 10's of servers it gets noisy.

Log to a file with "debug 3;"
 
> As it is, and I mean without turning on debug logging, I have to infer
> what servers notify was sent to based on AXFR/IXFR requests.  (I try not
> to trust looking at config files when debugging because you can't be sure
> that the running config is the same as the on-disk config.)
> 
> Anyway thanks for the pointer, it looks trivial to update.
> 
> -frank
-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742                 INTERNET: marka at isc.org



More information about the bind-users mailing list