Skip to content

Commit 940dacf

Browse files
authored
change the warning to debug log (#706)
1 parent c21cfba commit 940dacf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/trace/tracer-wrapper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export class TracerWrapper {
101101
const context = activeSpan.context();
102102
const traceId = context?.toTraceId?.() ?? "unknown";
103103
const spanId = context?.toSpanId?.() ?? "unknown";
104-
logWarning(
104+
logDebug(
105105
`Detected stale span from previous invocation, finishing it to prevent trace context leakage. TraceId: ${traceId}, SpanId: ${spanId}`,
106106
);
107107
activeSpan.finish();

0 commit comments

Comments
 (0)