Reintroduce --logfile with deprecation warning (#7723)

Reintroduce the `--logfile` flag with a deprecation warning so that it doesn't prevent nodes from starting. This is considered preferable to breaking node startups so that users fix the flag, even though it means the `--logfile` flag is completely ineffective.

The flag was initially removed in:

- https://github.com/sigp/lighthouse/pull/6339
This commit is contained in:
Michael Sproul
2025-07-09 18:08:27 +10:00
committed by GitHub
parent 7b2f138ca7
commit 8e55684b06
3 changed files with 23 additions and 1 deletions

View File

@@ -278,7 +278,7 @@ pub fn get_config<E: EthSpec>(
}
if clap_utils::parse_optional::<u64>(cli_args, "eth1-cache-follow-distance")?.is_some() {
warn!("The eth1-purge-cache flag is deprecated");
warn!("The eth1-cache-follow-distance flag is deprecated");
}
// `--execution-endpoint` is required now.