File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -638,9 +638,6 @@ def _start_span(
638638
639639 def _on_span_finish (self , span ):
640640 # type: (Span) -> None
641- if self .log .isEnabledFor (logging .DEBUG ):
642- self .log .debug ("finishing span %s (enabled:%s)" , span .pprint (), self .enabled )
643-
644641 active = self .current_span ()
645642 # Debug check: if the finishing span has a parent and its parent
646643 # is not the next active span then this is an error in synchronous tracing.
@@ -655,6 +652,9 @@ def _on_span_finish(self, span):
655652 for p in self ._span_processors :
656653 p .on_span_finish (span )
657654
655+ if self .log .isEnabledFor (logging .DEBUG ):
656+ self .log .debug ("finishing span %s (enabled:%s)" , span .pprint (), self .enabled )
657+
658658 def _initialize_span_processors (self ):
659659 # type: () -> None
660660 trace_processors = [] # type: List[TraceProcessor]
You can’t perform that action at this time.
0 commit comments