[bind10-dev] Increased output from unit tests
Stephen Morris
stephen at isc.org
Tue Jul 5 11:28:50 UTC 2011
Later this week I will be committing #1024, which will affect the output
of unit tests. It changes the default severity of messages output by
the logging code from INFO to DEBUG. This means that by default, the
unit tests will produce many more logging messages.
To revert to the previous behaviour, you can set the environment
variable B10_LOGGER_SEVERITY to INFO before running the tests.
However, as we want to test all code paths, including those resulting
from the logging of messages, this is not encouraged. Instead, you can
discard logging output by setting the environment variable
B10_LOGGER_DESTINATION to /dev/null. (This does not affect the output
from Google Test - only the output generated by the BIND 10 logging code.)
More details can be found at http://bind10.isc.org/wiki/LoggingCppApiDesign
Stephen
More information about the bind10-dev
mailing list