[bind10-dev] Logging initialization

Jeremy C. Reed jreed at isc.org
Fri Jun 24 15:35:03 UTC 2011


On Fri, 24 Jun 2011, Stephen Morris wrote:

> >> B10_LOGGER_ROOT
> > 
> > Any example of what that does? I set it in my environment to 
> > B10_LOGGER_ROOT=Jeremy and I see no change.
> > 
> >> B10_LOGGER_SEVERITY
> > 
> >> B10_LOGGER_DBGLEVEL
> > 
> >> B10_LOGGER_LOCALMSG
> 
> These only work in the form of initLogger() call used in unit tests
> (where there is no access to a configuration database, e.g. try running
> the datasrc unit tests.


Okay I am still confused.  I don't see B10_LOGGER_ defined in 
environment by anything and I only see it used in 
src/lib/log/logger_support.cc.

How does an admin using BIND 10 tell it to only log a certain severity 
category (or higher)?  Is this documented? Is the behavior to be a 
single severity (I think no since I see multiple) or that and any 
higher?

How does any admin configure the debug level number? Is this documented?



More information about the bind10-dev mailing list