diff options
| author | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2023-01-21 12:07:15 +0400 |
|---|---|---|
| committer | MatthieuCoder <matthieu@matthieu-dev.xyz> | 2023-01-21 12:07:15 +0400 |
| commit | d3c887abda6411ef5c92173b8acdf0c56fa942c3 (patch) | |
| tree | a59531a25586fed501ea2059cf16bbb63cc11803 | |
| parent | 830d6f828255ec3b8a0950d4288374669d83205d (diff) | |
fix bug where no logs are emitted with the opentelemetry tracing layer enabled
| -rw-r--r-- | libs/leash/src/lib.rs | 1 |
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 |
