Commit ec6aba3f authored by Jelte Jansen's avatar Jelte Jansen
Browse files

[trac976] changed default root logger name to 'bind10'

parent e2e2a675
......@@ -50,7 +50,7 @@ int& initDebugLevel() {
}
std::string& initRootName() {
static std::string root("b10root");
static std::string root("bind10");
return (root);
}
......
......@@ -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;
......
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment