summaryrefslogtreecommitdiff
path: root/tests/cppunit_test_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cppunit_test_main.cc')
-rw-r--r--tests/cppunit_test_main.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/cppunit_test_main.cc b/tests/cppunit_test_main.cc
index 6bc9cea0..ebe49f90 100644
--- a/tests/cppunit_test_main.cc
+++ b/tests/cppunit_test_main.cc
@@ -24,6 +24,8 @@
#include <log4cxx/level.h>
#include <log4cxx/logger.h>
+#include <loggers.h>
+
#include <stdio.h>
#include <string.h>
@@ -42,10 +44,10 @@ int main(int argc, char **argv)
}
if(debug)
- log4cxx::Logger::getRootLogger()->setLevel(log4cxx::Level::getTrace());
+ logging::Logger::getRootLogger()->setLevel(logging::Level::getTrace());
else
- log4cxx::Logger::getRootLogger()->setLevel(log4cxx::Level::getWarn());
- log4cxx::BasicConfigurator::configure();
+ logging::Logger::getRootLogger()->setLevel(logging::Level::getWarn());
+ logging::BasicConfigurator::configure();
CppUnit::TextTestRunner runner;
CppUnit::TestFactoryRegistry &registry =