Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
Kea
Commits
ec6aba3f
Commit
ec6aba3f
authored
Jun 09, 2011
by
Jelte Jansen
Browse files
[trac976] changed default root logger name to 'bind10'
parent
e2e2a675
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/lib/log/logger_manager.cc
View file @
ec6aba3f
...
...
@@ -50,7 +50,7 @@ int& initDebugLevel() {
}
std
::
string
&
initRootName
()
{
static
std
::
string
root
(
"b
10root
"
);
static
std
::
string
root
(
"b
ind10
"
);
return
(
root
);
}
...
...
src/lib/log/logger_support.cc
View file @
ec6aba3f
...
...
@@ -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 "b
10root
".
const
char
*
DEFAULT_ROOT
=
"b
10root
"
;
// If not present, the name is "b
ind10
".
const
char
*
DEFAULT_ROOT
=
"b
ind10
"
;
const
char
*
root
=
getenv
(
"B10_LOGGER_ROOT"
);
if
(
!
root
)
{
root
=
DEFAULT_ROOT
;
...
...
src/lib/log/logger_support.h
View file @
ec6aba3f
...
...
@@ -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 "b
10root
" will be used.
/// Name of the root logger. If not given, the string "b
ind10
" will be used.
///
/// B10_LOGGER_SEVERITY
/// Severity of messages that will be logged. This must be one of the strings
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment