From a1b1d7ae589f36e8b1c0637ff1b17a1bf5272d57 Mon Sep 17 00:00:00 2001 From: Mac L Date: Mon, 17 Mar 2025 11:27:38 +0400 Subject: [PATCH] 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. --- lighthouse/environment/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lighthouse/environment/src/lib.rs b/lighthouse/environment/src/lib.rs index 005d2734c7..f427836751 100644 --- a/lighthouse/environment/src/lib.rs +++ b/lighthouse/environment/src/lib.rs @@ -248,7 +248,7 @@ impl EnvironmentBuilder { config.log_format.clone(), config.logfile_format.clone(), config.extra_info, - true, + false, ) } Err(e) => { @@ -264,7 +264,7 @@ impl EnvironmentBuilder { config.log_format.clone(), config.logfile_format.clone(), config.extra_info, - true, + false, ) } } @@ -280,7 +280,7 @@ impl EnvironmentBuilder { config.log_format.clone(), config.logfile_format.clone(), config.extra_info, - true, + false, ) } };