We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
workspace_filter
1 parent c1a50bb commit 6dba431Copy full SHA for 6dba431
lighthouse/src/main.rs
@@ -652,7 +652,7 @@ fn run<E: EthSpec>(
652
logging_layers.push(
653
file_logging_layer
654
.with_filter(logger_config.logfile_debug_level)
655
- .with_filter(workspace_filter)
+ .with_filter(workspace_filter.clone())
656
.boxed(),
657
);
658
}
@@ -692,7 +692,11 @@ fn run<E: EthSpec>(
692
.build();
693
694
let tracer = provider.tracer("lighthouse");
695
- Ok::<_, String>(tracing_opentelemetry::layer().with_tracer(tracer))
+ Ok::<_, String>(
696
+ tracing_opentelemetry::layer()
697
+ .with_tracer(tracer)
698
+ .with_filter(workspace_filter),
699
+ )
700
})?;
701
702
logging_layers.push(telemetry_layer.boxed());
0 commit comments