summaryrefslogtreecommitdiff
path: root/src/crawl/crawl.cpp
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2014-10-17 11:11:27 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2014-10-17 11:11:27 +0200
commit20a6ded7e251b61c347aa08d3624afd192dacbff (patch)
tree916b209db4eb3cf65ce3f182e7ae987cd036382d /src/crawl/crawl.cpp
parent46428f37d62672a3d17663d1d704a6ebc3f21073 (diff)
downloadcrawler-20a6ded7e251b61c347aa08d3624afd192dacbff.tar.gz
crawler-20a6ded7e251b61c347aa08d3624afd192dacbff.tar.bz2
playing around with Lua debugger
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 24d6427..bb3918e 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" );