fix bug where no logs are emitted with the opentelemetry tracing layer enabled
This commit is contained in:
parent
830d6f8282
commit
d3c887abda
|
@ -100,6 +100,7 @@ where
|
|||
let otel_layer = tracing_opentelemetry::layer().with_tracer(tracer);
|
||||
|
||||
tracing_subscriber::registry()
|
||||
.with(fmt::layer())
|
||||
.with(otel_layer)
|
||||
.with(
|
||||
// Use the info level as default
|
||||
|
|
Loading…
Reference in a new issue