Remove discv5 logs from logfile output (#7150)

#7146


  Set `dep_logs` to false when building the `file_logging_layer`. This will remove both `discv5` and `libp2p` logs from the output.
This commit is contained in:
Mac L
2025-03-17 11:27:38 +04:00
committed by GitHub
parent d96123b028
commit a1b1d7ae58

View File

@@ -248,7 +248,7 @@ impl<E: EthSpec> EnvironmentBuilder<E> {
config.log_format.clone(),
config.logfile_format.clone(),
config.extra_info,
true,
false,
)
}
Err(e) => {
@@ -264,7 +264,7 @@ impl<E: EthSpec> EnvironmentBuilder<E> {
config.log_format.clone(),
config.logfile_format.clone(),
config.extra_info,
true,
false,
)
}
}
@@ -280,7 +280,7 @@ impl<E: EthSpec> EnvironmentBuilder<E> {
config.log_format.clone(),
config.logfile_format.clone(),
config.extra_info,
true,
false,
)
}
};