]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[trac1024] Correctly initialize logging for asiodns unit tests
authorStephen Morris <stephen@isc.org>
Wed, 13 Jul 2011 16:40:00 +0000 (17:40 +0100)
committerStephen Morris <stephen@isc.org>
Wed, 13 Jul 2011 16:40:00 +0000 (17:40 +0100)
Removes (by default) one of the remaining logging messages identified
in the review.

src/lib/asiodns/tests/run_unittests.cc

index df77368f43b9e5e49287430ff0b7c69b01cf67a5..0a80331343287602d7eadedb04fd60a4293b1365 100644 (file)
@@ -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());