]> git.puffer.fish Git - matthieu/nova.git/commitdiff
fix bug where no logs are emitted with the opentelemetry tracing layer enabled
authorMatthieuCoder <matthieu@matthieu-dev.xyz>
Sat, 21 Jan 2023 08:07:15 +0000 (12:07 +0400)
committerMatthieuCoder <matthieu@matthieu-dev.xyz>
Sat, 21 Jan 2023 08:07:15 +0000 (12:07 +0400)
libs/leash/src/lib.rs

index d45d6c86737008e160c733ad842d6b78be7fa791..29c8a639320c94433e000cf04ae1b78c8e46dd24 100644 (file)
@@ -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