ConstElementPtr answer = server_->processConfig(config);
ASSERT_TRUE(answer);
-#if 0
- // If the configuration doesn't contain logging config, processConfig()
- // will revert the logging to default (stdout). We call initLogger()
- // to restore unit test logging.
- isc::log::initLogger();
-#endif
-
int status = 0;
ConstElementPtr txt = isc::config::parseAnswer(status, answer);
// This should succeed. If not, print the error message.
// Create fixed server id.
server_id_.reset(new Option4AddrLst(DHO_DHCP_SERVER_IDENTIFIER,
asiolink::IOAddress("192.0.3.1")));
- // Revert to unit test logging
- isc::log::initLogger();
}
/// @brief Returns fixed server identifier assigned to the naked server