// We need to initialize logging, in case any error messages are to be printed.
// This is just a test, so we don't care about lockfile.
setenv("KEA_LOCKFILE_DIR", "none", 0);
- CfgMgr::instance().setDefaultLoggerName(DHCP4_ROOT_LOGGER_NAME);
+ Daemon::setDefaultLoggerName(DHCP4_ROOT_LOGGER_NAME);
Daemon::loggerInit(DHCP4_ROOT_LOGGER_NAME, verbose_mode);
// Check the syntax first.
// It is important that we set a default logger name because this name
// will be used when the user doesn't provide the logging configuration
// in the Kea configuration file.
- CfgMgr::instance().setDefaultLoggerName(DHCP4_ROOT_LOGGER_NAME);
+ Daemon::setDefaultLoggerName(DHCP4_ROOT_LOGGER_NAME);
// Initialize logging. If verbose, we'll use maximum verbosity.
Daemon::loggerInit(DHCP4_ROOT_LOGGER_NAME, verbose_mode);
// We need to initialize logging, in case any error messages are to be printed.
// This is just a test, so we don't care about lockfile.
setenv("KEA_LOCKFILE_DIR", "none", 0);
- CfgMgr::instance().setDefaultLoggerName(DHCP6_ROOT_LOGGER_NAME);
- isc::process::Daemon::loggerInit(DHCP6_ROOT_LOGGER_NAME, verbose_mode);
+ Daemon::setDefaultLoggerName(DHCP6_ROOT_LOGGER_NAME);
+ Daemon::loggerInit(DHCP6_ROOT_LOGGER_NAME, verbose_mode);
// Check the syntax first.
Parser6Context parser;
// It is important that we set a default logger name because this name
// will be used when the user doesn't provide the logging configuration
// in the Kea configuration file.
- CfgMgr::instance().setDefaultLoggerName(DHCP6_LOGGER_NAME);
+ Daemon::setDefaultLoggerName(DHCP6_LOGGER_NAME);
// Initialize logging. If verbose, we'll use maximum verbosity.
Daemon::loggerInit(DHCP6_LOGGER_NAME, verbose_mode);
endif
SUBDIRS += testutils hooks dhcp config stats asiodns dhcp_ddns eval \
- cfgrpt process dhcpsrv process http
+ cfgrpt process dhcpsrv http