We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4458698 commit b72cab5Copy full SHA for b72cab5
opentelemetry-sdk/src/opentelemetry/sdk/trace/export/__init__.py
@@ -137,11 +137,11 @@ def on_start(self, span: Span) -> None:
137
138
def on_end(self, span: Span) -> None:
139
if self.done:
140
- logging.warning("Already shutdown, dropping span.")
+ logger.warning("Already shutdown, dropping span.")
141
return
142
if len(self.queue) == self.max_queue_size:
143
if not self._spans_dropped:
144
- logging.warning("Queue is full, likely spans will be dropped.")
+ logger.warning("Queue is full, likely spans will be dropped.")
145
self._spans_dropped = True
146
147
self.queue.appendleft(span)
0 commit comments