From: Christoph Egger Date: Thu, 26 Mar 2015 16:44:56 +0000 (+0100) Subject: Set Loglevel to ERROR for testcases X-Git-Tag: v0.1~9 X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=9cf22741bcee8b33aa0e4a77d97b361dec7074d7;p=frida%2Ffrida.git Set Loglevel to ERROR for testcases Everything lower is just noise for this purpose --- 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];