Browse Source

[5046] Minor cleanups

Thomas Markwalder 8 years ago
parent
commit
6ea58aa99a

+ 0 - 7
src/bin/dhcp4/tests/ctrl_dhcp4_srv_unittest.cc

@@ -122,13 +122,6 @@ public:
         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.

+ 0 - 2
src/bin/dhcp4/tests/dhcp4_test_utils.h

@@ -123,8 +123,6 @@ public:
         // 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