Filter dependencies from SSE logging (#7819)

This commit is contained in:
Age Manning
2025-08-01 14:45:20 +10:00
committed by GitHub
parent 134039d014
commit 2f59d5208a

View File

@@ -650,13 +650,17 @@ fn run<E: EthSpec>(
logging_layers.push(
file_logging_layer
.with_filter(logger_config.logfile_debug_level)
.with_filter(workspace_filter)
.with_filter(workspace_filter.clone())
.boxed(),
);
}
if let Some(sse_logging_layer) = sse_logging_layer_opt {
logging_layers.push(sse_logging_layer.boxed());
logging_layers.push(
sse_logging_layer
.with_filter(workspace_filter.clone())
.boxed(),
);
}
if let Some(libp2p_discv5_layer) = libp2p_discv5_layer {