|
@@ -165,18 +165,5 @@ void ControlledDhcpv4Srv::cleanup() {
|
|
|
// Nothing to do here. No need to disconnect from anything.
|
|
|
}
|
|
|
|
|
|
-/// This is a logger initialization for JSON file backend.
|
|
|
-/// For now, it's just setting log messages to be printed on stdout.
|
|
|
-/// @todo: Implement this properly (see #3427)
|
|
|
-void Daemon::loggerInit(const char* logger_name, bool verbose) {
|
|
|
-
|
|
|
- setenv("KEA_LOCKFILE_DIR_FROM_BUILD", "/tmp", 1);
|
|
|
- setenv("KEA_LOGGER_ROOT", logger_name, 0);
|
|
|
- setenv("KEA_LOGGER_SEVERITY", (verbose ? "DEBUG":"INFO"), 0);
|
|
|
- setenv("KEA_LOGGER_DBGLEVEL", "99", 0);
|
|
|
- setenv("KEA_LOGGER_DESTINATION", "stdout", 0);
|
|
|
- isc::log::initLogger();
|
|
|
-}
|
|
|
-
|
|
|
};
|
|
|
};
|