Correct fix for debug ID logging
This commit is contained in:
parent
8bc57c16f0
commit
b2bba8ccbb
|
@ -3351,7 +3351,7 @@ void Transaction::setOption( FDBTransactionOptions::Option option, Optional<Stri
|
||||||
if (info.debugID.present()) {
|
if (info.debugID.present()) {
|
||||||
TraceEvent(SevInfo, "TransactionBeingTraced")
|
TraceEvent(SevInfo, "TransactionBeingTraced")
|
||||||
.detail("DebugTransactionID", trLogInfo->identifier)
|
.detail("DebugTransactionID", trLogInfo->identifier)
|
||||||
.detail("ServerTraceID", info.debugID.get().first());
|
.detail("ServerTraceID", info.debugID.get());
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
@ -3387,7 +3387,7 @@ void Transaction::setOption( FDBTransactionOptions::Option option, Optional<Stri
|
||||||
if (trLogInfo && !trLogInfo->identifier.empty()) {
|
if (trLogInfo && !trLogInfo->identifier.empty()) {
|
||||||
TraceEvent(SevInfo, "TransactionBeingTraced")
|
TraceEvent(SevInfo, "TransactionBeingTraced")
|
||||||
.detail("DebugTransactionID", trLogInfo->identifier)
|
.detail("DebugTransactionID", trLogInfo->identifier)
|
||||||
.detail("ServerTraceID", info.debugID.get().first());
|
.detail("ServerTraceID", info.debugID.get());
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue