From: MatthieuCoder Date: Sat, 21 Jan 2023 08:07:15 +0000 (+0400) Subject: fix bug where no logs are emitted with the opentelemetry tracing layer enabled X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=d3c887abda6411ef5c92173b8acdf0c56fa942c3;p=matthieu%2Fnova.git fix bug where no logs are emitted with the opentelemetry tracing layer enabled --- diff --git a/libs/leash/src/lib.rs b/libs/leash/src/lib.rs index d45d6c8..29c8a63 100644 --- a/libs/leash/src/lib.rs +++ b/libs/leash/src/lib.rs @@ -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