mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Serialize access to the debug journal
This commit is contained in:
@@ -78,7 +78,7 @@ void STLedgerEntry::setSLEType ()
|
||||
type_ = mFormat->getType ();
|
||||
if (!setType (mFormat->elements))
|
||||
{
|
||||
if (auto j = debugJournal().warn())
|
||||
if (auto j = debugLog())
|
||||
{
|
||||
j << "Ledger entry not valid for type " << mFormat->getName ();
|
||||
j << "Object: " << getJson (0);
|
||||
@@ -141,7 +141,7 @@ bool STLedgerEntry::thread (uint256 const& txID, std::uint32_t ledgerSeq,
|
||||
{
|
||||
uint256 oldPrevTxID = getFieldH256 (sfPreviousTxnID);
|
||||
|
||||
JLOG (debugJournal().trace())
|
||||
JLOG (debugLog())
|
||||
<< "Thread Tx:" << txID << " prev:" << oldPrevTxID;
|
||||
|
||||
if (oldPrevTxID == txID)
|
||||
|
||||
Reference in New Issue
Block a user