diff --git a/src/Application.cpp b/src/Application.cpp index ec56e6b914..0d777f5186 100644 --- a/src/Application.cpp +++ b/src/Application.cpp @@ -70,7 +70,10 @@ void Application::run() { assert(mTxnDB == NULL); if (!theConfig.DEBUG_LOGFILE.empty()) + { Log::setLogFile(theConfig.DEBUG_LOGFILE); + LogPartition::setSeverity(lsDEBUG); + } boost::thread auxThread(boost::bind(&boost::asio::io_service::run, &mAuxService)); auxThread.detach();