Skip to content

Commit cabb4da

Browse files
committed
fix error name
1 parent da42d53 commit cabb4da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opentelemetry-sdk/src/logs/log_emitter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ impl opentelemetry::logs::Logger for Logger {
271271
if self.provider.inner.is_shutdown.load(Ordering::Relaxed) {
272272
// Optionally, log a debug message indicating logs are being discarded due to shutdown.
273273
otel_debug!(
274-
name: "Logger.Emit.Discarded",
274+
name: "Logger.Emit.ProviderShutdown",
275275
message = "Log discarded because the LoggerProvider is shut down."
276276
);
277277
return;

0 commit comments

Comments
 (0)