If a debug logfile is set, don't suppress INFO/DEBUG logging.

This commit is contained in:
JoelKatz
2012-10-19 12:33:11 -07:00
parent ec0376533f
commit bd2b4daae4

View File

@@ -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();