summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieuCoder <matthieu@matthieu-dev.xyz>2023-01-21 12:07:15 +0400
committerMatthieuCoder <matthieu@matthieu-dev.xyz>2023-01-21 12:07:15 +0400
commitd3c887abda6411ef5c92173b8acdf0c56fa942c3 (patch)
treea59531a25586fed501ea2059cf16bbb63cc11803
parent830d6f828255ec3b8a0950d4288374669d83205d (diff)
fix bug where no logs are emitted with the opentelemetry tracing layer enabled
-rw-r--r--libs/leash/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
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