mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Fix log chattiness. Add a new configuration parameter "debug_logfile"
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include "utils.h"
|
||||
#include "TaggedCache.h"
|
||||
#include "boost/filesystem.hpp"
|
||||
#include "Log.h"
|
||||
|
||||
Application* theApp = NULL;
|
||||
|
||||
@@ -53,7 +54,9 @@ void Application::stop()
|
||||
|
||||
void Application::run()
|
||||
{
|
||||
assert(mTxnDB==NULL);
|
||||
assert(mTxnDB == NULL);
|
||||
if (!theConfig.DEBUG_LOGFILE.empty())
|
||||
Log::setLogFile(theConfig.DEBUG_LOGFILE);
|
||||
|
||||
//
|
||||
// Construct databases.
|
||||
|
||||
Reference in New Issue
Block a user