Parcourir la source

[trac1024] Correctly initialize logging for asiodns unit tests

Removes (by default) one of the remaining logging messages identified
in the review.
Stephen Morris il y a 14 ans
Parent
commit
e540aaf2ce
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/lib/asiodns/tests/run_unittests.cc

+ 1 - 1
src/lib/asiodns/tests/run_unittests.cc

@@ -22,7 +22,7 @@ int
 main(int argc, char* argv[])
 {
     ::testing::InitGoogleTest(&argc, argv);         // Initialize Google test
-    isc::log::LoggerManager::init("unittest");      // Set a root logger name
+    isc::log::initLogger();                         // Initialize logging
     isc::UnitTestUtil::addDataPath(TEST_DATA_DIR);  // Add location of test data
 
     return (isc::util::unittests::run_all());