From 7e0f593e799c78c4e02b5174a2a15eb2e0ed616d Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 17 Oct 2014 11:54:59 +0200 Subject: .. --- src/crawl/crawl.conf | 2 +- src/crawl/crawl.cpp | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/crawl/crawl.conf b/src/crawl/crawl.conf index 0a9947c..9345b7e 100644 --- a/src/crawl/crawl.conf +++ b/src/crawl/crawl.conf @@ -12,7 +12,7 @@ crawler = { } logger = { - level = "DEBUG" + level = "NOTICE" } modules = { diff --git a/src/crawl/crawl.cpp b/src/crawl/crawl.cpp index bb3918e..24d6427 100755 --- a/src/crawl/crawl.cpp +++ b/src/crawl/crawl.cpp @@ -156,7 +156,7 @@ int main( int /* argc */, char *argv[] ) initialize_libcrawler( (void *)&luaVm ); - Logger::instance( ).openConsoleLog( logDEBUG ); + //Logger::instance( ).openConsoleLog( logDEBUG ); // load configuration (Lua) luaVm.loadSource( argv[1] ); @@ -184,8 +184,8 @@ int main( int /* argc */, char *argv[] ) // of global variables) luaVm.executeMain( ); - //std::string logLevel = luaVm.getString( "logger.level" ); - //Logger::instance( ).openConsoleLog( Logger::fromString( logLevel ) ); + std::string logLevel = luaVm.getString( "logger.level" ); + Logger::instance( ).openConsoleLog( Logger::fromString( logLevel ) ); int stopAfterNOperations = luaVm.getInt( "crawler.stop_after_N_operations" ); -- cgit v1.2.3-54-g00ecf