BIND 10 trac1024, updated. 99c025349129904b864806049ea8761940ba0ecc [trac1024] Change default logging severity and debug level
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Jun 30 11:05:54 UTC 2011
The branch, trac1024 has been updated
via 99c025349129904b864806049ea8761940ba0ecc (commit)
from ae4e7f10136bd182db6d4801ace410e72574abf2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 99c025349129904b864806049ea8761940ba0ecc
Author: Stephen Morris <stephen at isc.org>
Date: Thu Jun 30 12:05:36 2011 +0100
[trac1024] Change default logging severity and debug level
-----------------------------------------------------------------------
Summary of changes:
src/lib/log/logger_support.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/log/logger_support.h b/src/lib/log/logger_support.h
index 4bc8acc..7dc0c28 100644
--- a/src/lib/log/logger_support.h
+++ b/src/lib/log/logger_support.h
@@ -76,13 +76,13 @@ void initLogger(const std::string& root,
/// "DEBUG", "INFO", "WARN", "ERROR", "FATAL" or "NONE". (Must be upper case
/// and must not contain leading or trailing spaces.) If not specified (or if
/// specified but incorrect), the default passed as argument to this function
-/// (currently INFO) will be used.
+/// (currently DEBUG) will be used.
///
/// B10_LOGGER_DBGLEVEL
/// Ignored if the level is not DEBUG, this should be a number between 0 and
/// 99 indicating the logging severity. The default is 0. If outside these
/// limits or if not a number, The value passed to this function (default
-/// of 0) is used.
+/// of MAX_DEBUG_LEVEL) is used.
///
/// B10_LOGGER_LOCALMSG
/// If defined, the path specification of a file that contains message
@@ -94,8 +94,8 @@ void initLogger(const std::string& root,
/// be overridden by the tester. It is not intended for use in production
/// code.
-void initLogger(isc::log::Severity severity = isc::log::INFO,
- int dbglevel = 0);
+void initLogger(isc::log::Severity severity = isc::log::DEBUG,
+ int dbglevel = isc::log::MAX_DEBUG_LEVEL);
} // namespace log
} // namespace isc
More information about the bind10-changes
mailing list