File tree Expand file tree Collapse file tree
dd-trace-core/src/main/java/datadog/trace/core/scopemanager Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package datadog .trace .core .scopemanager ;
22
33import static datadog .trace .api .ConfigDefaults .DEFAULT_ASYNC_PROPAGATING ;
4+ import static datadog .trace .api .telemetry .LogCollector .SEND_TELEMETRY ;
45import static datadog .trace .bootstrap .instrumentation .api .AgentTracer .noopScope ;
56import static datadog .trace .bootstrap .instrumentation .api .AgentTracer .noopSpan ;
67import static datadog .trace .core .scopemanager .ContinuableScope .CONTEXT ;
@@ -249,13 +250,12 @@ public void closePrevious(final boolean finishSpan) {
249250 span .finishWithEndToEnd ();
250251 }
251252 } else if (top != null ) {
252- // log.debug(
253- // SEND_TELEMETRY,
254- // "Scope found at top of stack has source {} when we expect {}. Current span at the top
255- // of the stack {}.",
256- // top,
257- // ITERATION,
258- // top.span());
253+ log .debug (
254+ SEND_TELEMETRY ,
255+ "Scope found at top of stack has source {} when we expect {}. Current span at the top of the stack {}." ,
256+ top .source (),
257+ ITERATION ,
258+ top .span ());
259259 }
260260 }
261261
You can’t perform that action at this time.
0 commit comments