Cleanup messages.

This commit is contained in:
JoelKatz
2013-05-11 16:39:17 -07:00
parent 51d7340364
commit 28f4bef71a

View File

@@ -172,7 +172,7 @@ void Application::setup()
#ifdef USE_LEVELDB #ifdef USE_LEVELDB
if (mHashedObjectStore.isLevelDB()) if (mHashedObjectStore.isLevelDB())
{ {
cLog(lsFATAL) << "LDB"; cLog(lsINFO) << "LevelDB used for nodes";
leveldb::Options options; leveldb::Options options;
options.create_if_missing = true; options.create_if_missing = true;
options.block_cache = leveldb::NewLRUCache(theConfig.getSize(siHashNodeDBCache) * 1024 * 1024); options.block_cache = leveldb::NewLRUCache(theConfig.getSize(siHashNodeDBCache) * 1024 * 1024);
@@ -191,7 +191,7 @@ void Application::setup()
else else
#endif #endif
{ {
cLog(lsFATAL) << "SQLite"; cLog(lsINFO) << "SQLite used for nodes";
boost::thread t5(boost::bind(&InitDB, &mHashNodeDB, "hashnode.db", HashNodeDBInit, HashNodeDBCount)); boost::thread t5(boost::bind(&InitDB, &mHashNodeDB, "hashnode.db", HashNodeDBInit, HashNodeDBCount));
t5.join(); t5.join();
} }