Skip to content

Commit

Permalink
Use TraceId128 in log (#5312)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlock authored Mar 18, 2024
1 parent b496b7d commit 405175b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracer/src/Datadog.Trace/Span.cs
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ internal void SetExceptionTags(Exception exception)
catch (Exception ex)
{
// We have found rare cases where exception.ToString() throws an exception, such as in a FileNotFoundException
Log.Warning(ex, "Error setting exception tags on span {SpanId} in trace {TraceId}", SpanId, TraceId);
Log.Warning(ex, "Error setting exception tags on span {SpanId} in trace {TraceId128}", SpanId, TraceId128);
}
}
}
Expand Down

0 comments on commit 405175b

Please sign in to comment.