Inject journals:

Calls to WriteLog are replaced with injected journals
This commit is contained in:
seelabs
2015-09-19 11:06:12 -07:00
committed by Vinnie Falco
parent df6ac8f7f5
commit 92b2ca70b7
131 changed files with 1336 additions and 1076 deletions

View File

@@ -95,7 +95,7 @@ void startServer (Application& app)
Resource::Charge loadType = Resource::feeReferenceRPC;
RPC::Context context {
jvCommand, app, loadType, app.getOPs (),
app.journal ("RPCHandler"), jvCommand, app, loadType, app.getOPs (),
app.getLedgerMaster(), Role::ADMIN, app};
Json::Value jvResult;
@@ -498,7 +498,7 @@ int run (int argc, char** argv)
setCallingThreadName ("rpc");
return RPCCall::fromCommandLine (
*config,
vm["parameters"].as<std::vector<std::string>>());
vm["parameters"].as<std::vector<std::string>>(), deprecatedLogs());
}
extern int run (int argc, char** argv);