diff --git a/src/cpp/ripple/NetworkOPs.cpp b/src/cpp/ripple/NetworkOPs.cpp index 4dc5ffe43e..5736a3b91b 100644 --- a/src/cpp/ripple/NetworkOPs.cpp +++ b/src/cpp/ripple/NetworkOPs.cpp @@ -294,6 +294,7 @@ void NetworkOPs::runTransactionQueue () if (theApp->getHashRouter ().swapSet (txn->getID (), peers, SF_RELAYED)) { + WriteLog (lsDEBUG, NetworkOPs) << "relaying"; protocol::TMTransaction tx; Serializer s; dbtx->getSTransaction ()->add (s); @@ -304,6 +305,8 @@ void NetworkOPs::runTransactionQueue () PackedMessage::pointer packet = boost::make_shared (tx, protocol::mtTRANSACTION); theApp->getPeers ().relayMessageBut (peers, packet); } + else + WriteLog(lsDEBUG, NetworkOPs) << "recently relayed"; } txn->doCallbacks (r); diff --git a/src/cpp/ripple/TransactionEngine.cpp b/src/cpp/ripple/TransactionEngine.cpp index 4d31987651..2db19eb2a1 100644 --- a/src/cpp/ripple/TransactionEngine.cpp +++ b/src/cpp/ripple/TransactionEngine.cpp @@ -146,7 +146,7 @@ TER TransactionEngine::applyTransaction (const SerializedTransaction& txn, Trans } } else - WriteLog (lsDEBUG, TransactionEngine) << "Not applying transaction"; + WriteLog (lsDEBUG, TransactionEngine) << "Not applying transaction " << txID; if (didApply) {