[bind10-dev] Enabling/disabling logging on per-message basis

JINMEI Tatuya / 神明達哉 jinmei at isc.org
Thu Mar 1 17:58:42 UTC 2012


At Wed, 29 Feb 2012 17:32:52 +0100,
Michal 'vorner' Vaner <michal.vaner at nic.cz> wrote:

> We talked yesterday on the call about the possibility of enabling and disabling
> of logging of specific message. [...]

> Do you think it makes sense to create the ticket and tackle it sometime soon?

I don't have a strong opinion, but the idea looks good and I can see
the need for it.  Also, this is possibly specifically because we
designed log messages to be identifiable, if this is based on real
user need that would be a nice appealing functionality unique to BIND
10.

My comment at this point is that we should be careful about its
performance impact.  If we use std::map and when it's empty (and it
should be the normal case) as you hinted, that's probably lightweight,
but I think we need to measure its impact via real benchmark tests.
We should also make sure that specifying a filter (disable/enable a
particular message) doesn't so significantly damage the peformance.

I also see the point in Stephen's response.  While I can imagine a
user that will be happy with this feature, it would be nice if we
could know how widely it would be needed.

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.


More information about the bind10-dev mailing list