From 9cf22741bcee8b33aa0e4a77d97b361dec7074d7 Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Thu, 26 Mar 2015 17:44:56 +0100 Subject: [PATCH] Set Loglevel to ERROR for testcases Everything lower is just noise for this purpose --- src/test.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/test.cxx b/src/test.cxx index 36fb3b4..66cde12 100644 --- a/src/test.cxx +++ b/src/test.cxx @@ -10,6 +10,9 @@ int main(int argc, char **argv) { testing::InitGoogleTest(&argc, argv); log4cxx::BasicConfigurator::configure(); + log4cxx::LevelPtr level = log4cxx::Level::getError(); + log4cxx::Logger::getRootLogger()->setLevel(level); + QApplication::addLibraryPath(CONFIG_LIBDIR); if (argc > 1) TEST_DATA_DIRECTORY = argv[1]; -- 2.39.5