From d546c2873ae336f2c03db0e6e8386504c6aebe0c Mon Sep 17 00:00:00 2001 From: seusher Date: Wed, 17 May 2017 12:57:55 -0700 Subject: Issue 2279: Log JSON RPC requests and responses when --log_level=message is provided to soltest --- test/RPCSession.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/RPCSession.cpp b/test/RPCSession.cpp index 3ea3b1fe..c4fbfefb 100644 --- a/test/RPCSession.cpp +++ b/test/RPCSession.cpp @@ -316,9 +316,9 @@ Json::Value RPCSession::rpcCall(string const& _methodName, vector const& request += "],\"id\":" + to_string(m_rpcSequence) + "}"; ++m_rpcSequence; - // cout << "Request: " << request << endl; + BOOST_TEST_MESSAGE("Request: " + request); string reply = m_ipcSocket.sendRequest(request); - // cout << "Reply: " << reply << endl; + BOOST_TEST_MESSAGE("Reply: " + reply); Json::Value result; BOOST_REQUIRE(Json::Reader().parse(reply, result, false)); -- cgit v1.2.3