More logging improvements.

This commit is contained in:
JoelKatz
2012-10-08 07:14:36 -07:00
parent 0355439406
commit 31a6177da0
5 changed files with 23 additions and 16 deletions

View File

@@ -79,8 +79,8 @@ TER TransactionEngine::applyTransaction(const SerializedTransaction& txn, Transa
{
cLog(lsFATAL) << "Transaction serdes mismatch";
Json::StyledStreamWriter ssw;
ssw.write(Log(lsINFO).ref(), txn.getJson(0));
ssw.write(Log(lsFATAL).ref(), s2.getJson(0));
cLog(lsINFO) << txn.getJson(0);
cLog(lsFATAL) << s2.getJson(0);
assert(false);
}
}