summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-10-17 11:54:59 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2014-10-17 11:54:59 +0200
commit7e0f593e799c78c4e02b5174a2a15eb2e0ed616d (patch)
treefd5626f73a06799e42ad3347c7d538212ec4ef2c
parent20a6ded7e251b61c347aa08d3624afd192dacbff (diff)
downloadcrawler-7e0f593e799c78c4e02b5174a2a15eb2e0ed616d.tar.gz
crawler-7e0f593e799c78c4e02b5174a2a15eb2e0ed616d.tar.bz2
..
-rw-r--r--src/crawl/crawl.conf2
-rwxr-xr-xsrc/crawl/crawl.cpp6
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" );