summaryrefslogtreecommitdiff
path: root/src/crawl/crawl.cpp
diff options
context:
space:
mode:
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" );