Browse Source

[trac1024] Correctly initialize logging for asiodns unit tests

Removes (by default) one of the remaining logging messages identified
in the review.
Stephen Morris 14 years ago
parent
commit
e540aaf2ce
1 changed files with 1 additions and 1 deletions
  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[])
 main(int argc, char* argv[])
 {
 {
     ::testing::InitGoogleTest(&argc, argv);         // Initialize Google test
     ::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
     isc::UnitTestUtil::addDataPath(TEST_DATA_DIR);  // Add location of test data
 
 
     return (isc::util::unittests::run_all());
     return (isc::util::unittests::run_all());