diff options
author | Thomas Markwalder <tmark@isc.org> | 2016-12-09 22:06:38 +0100 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2016-12-09 22:06:38 +0100 |
commit | 767bf1503f982d75f5c9fcca219f86a8345b5802 (patch) | |
tree | f5c58b119efa4fd4b30fbd664f914a6cf824b92d /src/bin/dhcp6/tests/dhcp6_test_utils.cc | |
parent | [5046] Fixed logger setup on set-config (diff) | |
download | kea-767bf1503f982d75f5c9fcca219f86a8345b5802.tar.xz kea-767bf1503f982d75f5c9fcca219f86a8345b5802.zip |
[5046] Avoid wiping logging when config is empty
src/lib/dhcpsrv/srv_config.cc
SrvConfig::applyLoggingCfg() - now only calls LoggerManager::process()
if the logger config isn't empty
src/bin/dhcp6/ctrl_dhcp6_srv.cc
src/bin/dhcp6/tests/dhcp6_test_utils.cc
Minor clean up and commentary
src/bin/dhcp6/kea_controller.cc
configure(const std::string& file_name)
- Removed initial rollback, now done in commandSetConfigHandler()
src/bin/dhcp6/tests/ctrl_dhcp6_srv_unittest.cc
- Removed unnecessary call to initLogger
Diffstat (limited to 'src/bin/dhcp6/tests/dhcp6_test_utils.cc')
-rw-r--r-- | src/bin/dhcp6/tests/dhcp6_test_utils.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/dhcp6/tests/dhcp6_test_utils.cc b/src/bin/dhcp6/tests/dhcp6_test_utils.cc index 5c4b70d30d..a1c74dab10 100644 --- a/src/bin/dhcp6/tests/dhcp6_test_utils.cc +++ b/src/bin/dhcp6/tests/dhcp6_test_utils.cc @@ -48,7 +48,7 @@ BaseServerTest::~BaseServerTest() { // Revert to original data directory. CfgMgr::instance().setDataDir(original_datadir_); - // Revert to unit test logging + // Revert to unit test logging in case the test reconfigured logging. isc::log::initLogger(); } |