BIND 10 trac976, updated. ec6aba3f5e5ea3f3e9e5b9d70b162fe6e0f33df2 [trac976] changed default root logger name to 'bind10'
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Jun 9 10:33:38 UTC 2011
The branch, trac976 has been updated
via ec6aba3f5e5ea3f3e9e5b9d70b162fe6e0f33df2 (commit)
from e2e2a6756e459bb49446c22b89efa07306c35f21 (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 ec6aba3f5e5ea3f3e9e5b9d70b162fe6e0f33df2
Author: Jelte Jansen <jelte at isc.org>
Date: Thu Jun 9 12:33:16 2011 +0200
[trac976] changed default root logger name to 'bind10'
-----------------------------------------------------------------------
Summary of changes:
src/lib/log/logger_manager.cc | 2 +-
src/lib/log/logger_support.cc | 4 ++--
src/lib/log/logger_support.h | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
-----------------------------------------------------------------------
diff --git a/src/lib/log/logger_manager.cc b/src/lib/log/logger_manager.cc
index 52e4236..9955a83 100644
--- a/src/lib/log/logger_manager.cc
+++ b/src/lib/log/logger_manager.cc
@@ -50,7 +50,7 @@ int& initDebugLevel() {
}
std::string& initRootName() {
- static std::string root("b10root");
+ static std::string root("bind10");
return (root);
}
diff --git a/src/lib/log/logger_support.cc b/src/lib/log/logger_support.cc
index ea2f0ab..78e28f3 100644
--- a/src/lib/log/logger_support.cc
+++ b/src/lib/log/logger_support.cc
@@ -54,8 +54,8 @@ initLogger(const string& root, isc::log::Severity severity, int dbglevel,
void initLogger(isc::log::Severity severity, int dbglevel) {
// Root logger name is defined by the environment variable B10_LOGGER_ROOT.
- // If not present, the name is "b10root".
- const char* DEFAULT_ROOT = "b10root";
+ // If not present, the name is "bind10".
+ const char* DEFAULT_ROOT = "bind10";
const char* root = getenv("B10_LOGGER_ROOT");
if (! root) {
root = DEFAULT_ROOT;
diff --git a/src/lib/log/logger_support.h b/src/lib/log/logger_support.h
index 8fcfab5..5d574d3 100644
--- a/src/lib/log/logger_support.h
+++ b/src/lib/log/logger_support.h
@@ -49,7 +49,7 @@ void initLogger(const std::string& root,
/// environment variables. These are:
///
/// B10_LOGGER_ROOT
-/// Name of the root logger. If not given, the string "b10root" will be used.
+/// Name of the root logger. If not given, the string "bind10" will be used.
///
/// B10_LOGGER_SEVERITY
/// Severity of messages that will be logged. This must be one of the strings
More information about the bind10-changes
mailing list