summaryrefslogtreecommitdiff
path: root/src/crawl/crawl.cpp
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 /src/crawl/crawl.cpp
parent20a6ded7e251b61c347aa08d3624afd192dacbff (diff)
downloadcrawler-7e0f593e799c78c4e02b5174a2a15eb2e0ed616d.tar.gz
crawler-7e0f593e799c78c4e02b5174a2a15eb2e0ed616d.tar.bz2
..
Diffstat (limited to 'src/crawl/crawl.cpp')
-rwxr-xr-xsrc/crawl/crawl.cpp6
1 files changed, 3 insertions, 3 deletions
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" );