From 5c83eb0b06833a22c29c377b050f7dc1fa688c1d Mon Sep 17 00:00:00 2001 From: zhygis <5236121+Zygimantass@users.noreply.github.com> Date: Thu, 19 Feb 2026 04:16:47 +0100 Subject: [PATCH] feat(log): disable file logging by default for non-node commands (#21521) Co-authored-by: Amp Co-authored-by: Georgios Konstantopoulos --- crates/ethereum/cli/src/app.rs | 5 +++ crates/ethereum/cli/src/interface.rs | 42 +++++++++++++++++++ crates/node/core/src/args/log.rs | 32 ++++++++++++-- docs/vocs/docs/pages/cli/reth.mdx | 4 +- docs/vocs/docs/pages/cli/reth/config.mdx | 4 +- docs/vocs/docs/pages/cli/reth/db.mdx | 4 +- .../pages/cli/reth/db/account-storage.mdx | 4 +- docs/vocs/docs/pages/cli/reth/db/checksum.mdx | 4 +- .../docs/pages/cli/reth/db/checksum/mdbx.mdx | 4 +- .../pages/cli/reth/db/checksum/rocksdb.mdx | 4 +- .../cli/reth/db/checksum/static-file.mdx | 4 +- .../cli/reth/db/checksum/use_hashed_state.mdx | 4 +- docs/vocs/docs/pages/cli/reth/db/clear.mdx | 4 +- .../docs/pages/cli/reth/db/clear/mdbx.mdx | 4 +- .../pages/cli/reth/db/clear/static-file.mdx | 4 +- docs/vocs/docs/pages/cli/reth/db/copy.mdx | 4 +- docs/vocs/docs/pages/cli/reth/db/diff.mdx | 4 +- docs/vocs/docs/pages/cli/reth/db/drop.mdx | 4 +- docs/vocs/docs/pages/cli/reth/db/get.mdx | 4 +- docs/vocs/docs/pages/cli/reth/db/get/mdbx.mdx | 4 +- .../pages/cli/reth/db/get/static-file.mdx | 4 +- docs/vocs/docs/pages/cli/reth/db/list.mdx | 4 +- docs/vocs/docs/pages/cli/reth/db/path.mdx | 4 +- .../pages/cli/reth/db/prune-checkpoints.mdx | 4 +- .../cli/reth/db/prune-checkpoints/get.mdx | 4 +- .../cli/reth/db/prune-checkpoints/set.mdx | 4 +- .../docs/pages/cli/reth/db/repair-trie.mdx | 4 +- docs/vocs/docs/pages/cli/reth/db/settings.mdx | 4 +- .../docs/pages/cli/reth/db/settings/get.mdx | 4 +- .../docs/pages/cli/reth/db/settings/set.mdx | 4 +- .../db/settings/set/account_changesets.mdx | 4 +- .../reth/db/settings/set/account_history.mdx | 4 +- .../cli/reth/db/settings/set/receipts.mdx | 4 +- .../settings/set/receipts_in_static_files.mdx | 4 +- .../db/settings/set/storage_changesets.mdx | 4 +- .../reth/db/settings/set/storages_history.mdx | 4 +- .../settings/set/transaction_hash_numbers.mdx | 4 +- .../db/settings/set/transaction_senders.mdx | 4 +- .../transaction_senders_in_static_files.mdx | 4 +- .../reth/db/settings/set/use_hashed_state.mdx | 4 +- .../pages/cli/reth/db/settings/set/v2.mdx | 4 +- docs/vocs/docs/pages/cli/reth/db/state.mdx | 4 +- .../pages/cli/reth/db/static-file-header.mdx | 4 +- .../cli/reth/db/static-file-header/block.mdx | 4 +- .../cli/reth/db/static-file-header/path.mdx | 4 +- docs/vocs/docs/pages/cli/reth/db/stats.mdx | 4 +- docs/vocs/docs/pages/cli/reth/db/version.mdx | 4 +- docs/vocs/docs/pages/cli/reth/download.mdx | 4 +- .../vocs/docs/pages/cli/reth/dump-genesis.mdx | 4 +- docs/vocs/docs/pages/cli/reth/export-era.mdx | 4 +- docs/vocs/docs/pages/cli/reth/import-era.mdx | 4 +- docs/vocs/docs/pages/cli/reth/import.mdx | 4 +- docs/vocs/docs/pages/cli/reth/init-state.mdx | 4 +- docs/vocs/docs/pages/cli/reth/init.mdx | 4 +- docs/vocs/docs/pages/cli/reth/node.mdx | 4 +- docs/vocs/docs/pages/cli/reth/p2p.mdx | 4 +- docs/vocs/docs/pages/cli/reth/p2p/body.mdx | 4 +- .../vocs/docs/pages/cli/reth/p2p/bootnode.mdx | 4 +- docs/vocs/docs/pages/cli/reth/p2p/enode.mdx | 4 +- docs/vocs/docs/pages/cli/reth/p2p/header.mdx | 4 +- docs/vocs/docs/pages/cli/reth/p2p/rlpx.mdx | 4 +- .../docs/pages/cli/reth/p2p/rlpx/ping.mdx | 4 +- docs/vocs/docs/pages/cli/reth/prune.mdx | 4 +- docs/vocs/docs/pages/cli/reth/re-execute.mdx | 4 +- docs/vocs/docs/pages/cli/reth/stage.mdx | 4 +- docs/vocs/docs/pages/cli/reth/stage/drop.mdx | 4 +- docs/vocs/docs/pages/cli/reth/stage/dump.mdx | 4 +- .../cli/reth/stage/dump/account-hashing.mdx | 4 +- .../pages/cli/reth/stage/dump/execution.mdx | 4 +- .../docs/pages/cli/reth/stage/dump/merkle.mdx | 4 +- .../cli/reth/stage/dump/storage-hashing.mdx | 4 +- docs/vocs/docs/pages/cli/reth/stage/run.mdx | 4 +- .../vocs/docs/pages/cli/reth/stage/unwind.mdx | 4 +- .../cli/reth/stage/unwind/num-blocks.mdx | 4 +- .../pages/cli/reth/stage/unwind/to-block.mdx | 4 +- .../pages/cli/reth/test-vectors/tables.mdx | 4 +- 76 files changed, 221 insertions(+), 150 deletions(-) diff --git a/crates/ethereum/cli/src/app.rs b/crates/ethereum/cli/src/app.rs index 0d5bc6c9bd..2344babeac 100644 --- a/crates/ethereum/cli/src/app.rs +++ b/crates/ethereum/cli/src/app.rs @@ -106,6 +106,11 @@ where self.cli.logs.log_file_directory.join(chain_spec.chain().to_string()); } + // Apply node-specific log defaults before initializing tracing + if matches!(self.cli.command, Commands::Node(_)) { + self.cli.logs.apply_node_defaults(); + } + self.init_tracing(&runner)?; // Install the prometheus recorder to be sure to record all metrics diff --git a/crates/ethereum/cli/src/interface.rs b/crates/ethereum/cli/src/interface.rs index 817a35d805..aded537959 100644 --- a/crates/ethereum/cli/src/interface.rs +++ b/crates/ethereum/cli/src/interface.rs @@ -209,6 +209,12 @@ impl< self.logs.log_file_directory = self.logs.log_file_directory.join(chain_spec.chain().to_string()); } + + // Apply node-specific log defaults before initializing tracing + if matches!(self.command, Commands::Node(_)) { + self.logs.apply_node_defaults(); + } + let _guard = self.init_tracing(&runner, Layers::new())?; // Install the prometheus recorder to be sure to record all metrics @@ -445,6 +451,42 @@ mod tests { assert!(log_dir.as_ref().ends_with(end), "{log_dir:?}"); } + #[test] + fn log_file_max_files_defaults() { + use reth_node_core::args::LogArgs; + + // Node command without explicit --log.file.max-files should get Some(5) after + // apply_node_defaults + let mut cli = Cli::try_parse_args_from(["reth", "node"]).unwrap(); + assert!(cli.logs.log_file_max_files.is_none()); + cli.logs.apply_node_defaults(); + assert_eq!(cli.logs.log_file_max_files, Some(LogArgs::DEFAULT_MAX_LOG_FILES_NODE)); + + // Non-node command without explicit --log.file.max-files should be None and + // effective_log_file_max_files returns 0 + let cli = Cli::try_parse_args_from(["reth", "config"]).unwrap(); + assert!(cli.logs.log_file_max_files.is_none()); + assert_eq!(cli.logs.effective_log_file_max_files(), 0); + + // Explicitly set value should be preserved for node command + let mut cli = + Cli::try_parse_args_from(["reth", "node", "--log.file.max-files", "10"]).unwrap(); + assert_eq!(cli.logs.log_file_max_files, Some(10)); + cli.logs.apply_node_defaults(); + assert_eq!(cli.logs.log_file_max_files, Some(10)); + + // Explicitly set value should be preserved for non-node command + let cli = + Cli::try_parse_args_from(["reth", "config", "--log.file.max-files", "3"]).unwrap(); + assert_eq!(cli.logs.log_file_max_files, Some(3)); + assert_eq!(cli.logs.effective_log_file_max_files(), 3); + + // Setting to 0 explicitly should work + let cli = Cli::try_parse_args_from(["reth", "node", "--log.file.max-files", "0"]).unwrap(); + assert_eq!(cli.logs.log_file_max_files, Some(0)); + assert_eq!(cli.logs.effective_log_file_max_files(), 0); + } + #[test] fn parse_env_filter_directives() { let temp_dir = tempfile::tempdir().unwrap(); diff --git a/crates/node/core/src/args/log.rs b/crates/node/core/src/args/log.rs index db03173fce..0db5463bc1 100644 --- a/crates/node/core/src/args/log.rs +++ b/crates/node/core/src/args/log.rs @@ -48,8 +48,10 @@ pub struct LogArgs { /// The maximum amount of log files that will be stored. If set to 0, background file logging /// is disabled. - #[arg(long = "log.file.max-files", value_name = "COUNT", global = true, default_value_t = 5)] - pub log_file_max_files: usize, + /// + /// Default: 5 for `node` command, 0 for non-node utility subcommands. + #[arg(long = "log.file.max-files", value_name = "COUNT", global = true)] + pub log_file_max_files: Option, /// Write logs to journald. #[arg(long = "log.journald", global = true)] @@ -108,6 +110,28 @@ pub struct LogArgs { } impl LogArgs { + /// The default number of log files for the `node` subcommand. + pub const DEFAULT_MAX_LOG_FILES_NODE: usize = 5; + + /// Returns the effective maximum number of log files. + /// + /// If `log_file_max_files` was explicitly set, returns that value. + /// Otherwise returns 0 (file logging disabled). + /// + /// Note: Callers should apply the node-specific default (5) before calling + /// `init_tracing` if the command is the `node` subcommand. + pub fn effective_log_file_max_files(&self) -> usize { + self.log_file_max_files.unwrap_or(0) + } + + /// Applies the default `log_file_max_files` value for the `node` subcommand + /// if not explicitly set by the user. + pub const fn apply_node_defaults(&mut self) { + if self.log_file_max_files.is_none() { + self.log_file_max_files = Some(Self::DEFAULT_MAX_LOG_FILES_NODE); + } + } + /// Creates a [`LayerInfo`] instance. fn layer_info(&self, format: LogFormat, filter: String, use_color: bool) -> LayerInfo { LayerInfo::new( @@ -124,7 +148,7 @@ impl LogArgs { self.log_file_directory.clone().into(), self.log_file_name.clone(), self.log_file_max_size * MB_TO_BYTES, - self.log_file_max_files, + self.effective_log_file_max_files(), ) } @@ -154,7 +178,7 @@ impl LogArgs { tracer = tracer.with_journald(self.journald_filter.clone()); } - if self.log_file_max_files > 0 { + if self.effective_log_file_max_files() > 0 { let info = self.file_info(); let file = self.layer_info(self.log_file_format, self.log_file_filter.clone(), false); tracer = tracer.with_file(file, info); diff --git a/docs/vocs/docs/pages/cli/reth.mdx b/docs/vocs/docs/pages/cli/reth.mdx index 79586fd5fb..579748dc8d 100644 --- a/docs/vocs/docs/pages/cli/reth.mdx +++ b/docs/vocs/docs/pages/cli/reth.mdx @@ -79,9 +79,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/config.mdx b/docs/vocs/docs/pages/cli/reth/config.mdx index 6fc23ce552..e94244d9b2 100644 --- a/docs/vocs/docs/pages/cli/reth/config.mdx +++ b/docs/vocs/docs/pages/cli/reth/config.mdx @@ -65,9 +65,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db.mdx b/docs/vocs/docs/pages/cli/reth/db.mdx index 2245c9dd3b..c6fe136806 100644 --- a/docs/vocs/docs/pages/cli/reth/db.mdx +++ b/docs/vocs/docs/pages/cli/reth/db.mdx @@ -187,9 +187,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/account-storage.mdx b/docs/vocs/docs/pages/cli/reth/db/account-storage.mdx index c9efbfd79c..b8f276d345 100644 --- a/docs/vocs/docs/pages/cli/reth/db/account-storage.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/account-storage.mdx @@ -73,9 +73,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/checksum.mdx b/docs/vocs/docs/pages/cli/reth/db/checksum.mdx index 26e58c94aa..c6e5db8592 100644 --- a/docs/vocs/docs/pages/cli/reth/db/checksum.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/checksum.mdx @@ -75,9 +75,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/checksum/mdbx.mdx b/docs/vocs/docs/pages/cli/reth/db/checksum/mdbx.mdx index 4608d1c282..c35406a998 100644 --- a/docs/vocs/docs/pages/cli/reth/db/checksum/mdbx.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/checksum/mdbx.mdx @@ -82,9 +82,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/checksum/rocksdb.mdx b/docs/vocs/docs/pages/cli/reth/db/checksum/rocksdb.mdx index 85c702c443..98ced41ee0 100644 --- a/docs/vocs/docs/pages/cli/reth/db/checksum/rocksdb.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/checksum/rocksdb.mdx @@ -81,9 +81,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/checksum/static-file.mdx b/docs/vocs/docs/pages/cli/reth/db/checksum/static-file.mdx index 274d060dab..7149400a28 100644 --- a/docs/vocs/docs/pages/cli/reth/db/checksum/static-file.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/checksum/static-file.mdx @@ -90,9 +90,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/checksum/use_hashed_state.mdx b/docs/vocs/docs/pages/cli/reth/db/checksum/use_hashed_state.mdx index 02605f5cbe..99a92d89a7 100644 --- a/docs/vocs/docs/pages/cli/reth/db/checksum/use_hashed_state.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/checksum/use_hashed_state.mdx @@ -73,9 +73,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/clear.mdx b/docs/vocs/docs/pages/cli/reth/db/clear.mdx index ce27ae40a6..70ee68b191 100644 --- a/docs/vocs/docs/pages/cli/reth/db/clear.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/clear.mdx @@ -74,9 +74,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/clear/mdbx.mdx b/docs/vocs/docs/pages/cli/reth/db/clear/mdbx.mdx index 3645c1a39b..77133825c0 100644 --- a/docs/vocs/docs/pages/cli/reth/db/clear/mdbx.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/clear/mdbx.mdx @@ -73,9 +73,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/clear/static-file.mdx b/docs/vocs/docs/pages/cli/reth/db/clear/static-file.mdx index 1fb9e442d4..f043a94265 100644 --- a/docs/vocs/docs/pages/cli/reth/db/clear/static-file.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/clear/static-file.mdx @@ -79,9 +79,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/copy.mdx b/docs/vocs/docs/pages/cli/reth/db/copy.mdx index ac81adf032..9f3b883968 100644 --- a/docs/vocs/docs/pages/cli/reth/db/copy.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/copy.mdx @@ -82,9 +82,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/diff.mdx b/docs/vocs/docs/pages/cli/reth/db/diff.mdx index 1716ecd44a..248134a2ab 100644 --- a/docs/vocs/docs/pages/cli/reth/db/diff.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/diff.mdx @@ -125,9 +125,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/drop.mdx b/docs/vocs/docs/pages/cli/reth/db/drop.mdx index cd82874656..d309e9b8e7 100644 --- a/docs/vocs/docs/pages/cli/reth/db/drop.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/drop.mdx @@ -72,9 +72,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/get.mdx b/docs/vocs/docs/pages/cli/reth/db/get.mdx index af77c97620..6476339092 100644 --- a/docs/vocs/docs/pages/cli/reth/db/get.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/get.mdx @@ -74,9 +74,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/get/mdbx.mdx b/docs/vocs/docs/pages/cli/reth/db/get/mdbx.mdx index 3e30668677..806d832fb4 100644 --- a/docs/vocs/docs/pages/cli/reth/db/get/mdbx.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/get/mdbx.mdx @@ -88,9 +88,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/get/static-file.mdx b/docs/vocs/docs/pages/cli/reth/db/get/static-file.mdx index 0e0d6e95c5..caa388198d 100644 --- a/docs/vocs/docs/pages/cli/reth/db/get/static-file.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/get/static-file.mdx @@ -88,9 +88,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/list.mdx b/docs/vocs/docs/pages/cli/reth/db/list.mdx index faf4bdbbf9..a96abe8e1d 100644 --- a/docs/vocs/docs/pages/cli/reth/db/list.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/list.mdx @@ -115,9 +115,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/path.mdx b/docs/vocs/docs/pages/cli/reth/db/path.mdx index 296e9b443a..8233f74da3 100644 --- a/docs/vocs/docs/pages/cli/reth/db/path.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/path.mdx @@ -69,9 +69,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/prune-checkpoints.mdx b/docs/vocs/docs/pages/cli/reth/db/prune-checkpoints.mdx index c158fa1b7f..fd38df1327 100644 --- a/docs/vocs/docs/pages/cli/reth/db/prune-checkpoints.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/prune-checkpoints.mdx @@ -74,9 +74,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/prune-checkpoints/get.mdx b/docs/vocs/docs/pages/cli/reth/db/prune-checkpoints/get.mdx index 35e0595b75..cc67747f5b 100644 --- a/docs/vocs/docs/pages/cli/reth/db/prune-checkpoints/get.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/prune-checkpoints/get.mdx @@ -74,9 +74,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/prune-checkpoints/set.mdx b/docs/vocs/docs/pages/cli/reth/db/prune-checkpoints/set.mdx index af7457086e..9ed8e17653 100644 --- a/docs/vocs/docs/pages/cli/reth/db/prune-checkpoints/set.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/prune-checkpoints/set.mdx @@ -91,9 +91,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/repair-trie.mdx b/docs/vocs/docs/pages/cli/reth/db/repair-trie.mdx index 9c9cf2e051..7fe0b77dd0 100644 --- a/docs/vocs/docs/pages/cli/reth/db/repair-trie.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/repair-trie.mdx @@ -77,9 +77,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/settings.mdx b/docs/vocs/docs/pages/cli/reth/db/settings.mdx index f9bb6ad559..300f15e5c2 100644 --- a/docs/vocs/docs/pages/cli/reth/db/settings.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/settings.mdx @@ -74,9 +74,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/settings/get.mdx b/docs/vocs/docs/pages/cli/reth/db/settings/get.mdx index 0013c6121a..6bd6c5d16a 100644 --- a/docs/vocs/docs/pages/cli/reth/db/settings/get.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/settings/get.mdx @@ -69,9 +69,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/settings/set.mdx b/docs/vocs/docs/pages/cli/reth/db/settings/set.mdx index 62d2124158..51fc1c4abe 100644 --- a/docs/vocs/docs/pages/cli/reth/db/settings/set.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/settings/set.mdx @@ -73,9 +73,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/settings/set/account_changesets.mdx b/docs/vocs/docs/pages/cli/reth/db/settings/set/account_changesets.mdx index ee3eec2265..46714807c3 100644 --- a/docs/vocs/docs/pages/cli/reth/db/settings/set/account_changesets.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/settings/set/account_changesets.mdx @@ -73,9 +73,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/settings/set/account_history.mdx b/docs/vocs/docs/pages/cli/reth/db/settings/set/account_history.mdx index b109c98ec7..9b3cae30b9 100644 --- a/docs/vocs/docs/pages/cli/reth/db/settings/set/account_history.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/settings/set/account_history.mdx @@ -73,9 +73,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/settings/set/receipts.mdx b/docs/vocs/docs/pages/cli/reth/db/settings/set/receipts.mdx index 6c2d73e74a..d09ec736e3 100644 --- a/docs/vocs/docs/pages/cli/reth/db/settings/set/receipts.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/settings/set/receipts.mdx @@ -73,9 +73,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/settings/set/receipts_in_static_files.mdx b/docs/vocs/docs/pages/cli/reth/db/settings/set/receipts_in_static_files.mdx index e9dadf91ef..34d664d990 100644 --- a/docs/vocs/docs/pages/cli/reth/db/settings/set/receipts_in_static_files.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/settings/set/receipts_in_static_files.mdx @@ -73,9 +73,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/settings/set/storage_changesets.mdx b/docs/vocs/docs/pages/cli/reth/db/settings/set/storage_changesets.mdx index d160b89518..060b0e3d22 100644 --- a/docs/vocs/docs/pages/cli/reth/db/settings/set/storage_changesets.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/settings/set/storage_changesets.mdx @@ -73,9 +73,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/settings/set/storages_history.mdx b/docs/vocs/docs/pages/cli/reth/db/settings/set/storages_history.mdx index 484de7c91b..43aa6c2101 100644 --- a/docs/vocs/docs/pages/cli/reth/db/settings/set/storages_history.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/settings/set/storages_history.mdx @@ -73,9 +73,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/settings/set/transaction_hash_numbers.mdx b/docs/vocs/docs/pages/cli/reth/db/settings/set/transaction_hash_numbers.mdx index 1724b1493b..86f58467b5 100644 --- a/docs/vocs/docs/pages/cli/reth/db/settings/set/transaction_hash_numbers.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/settings/set/transaction_hash_numbers.mdx @@ -73,9 +73,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/settings/set/transaction_senders.mdx b/docs/vocs/docs/pages/cli/reth/db/settings/set/transaction_senders.mdx index e5645aff4c..1fe42a6a34 100644 --- a/docs/vocs/docs/pages/cli/reth/db/settings/set/transaction_senders.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/settings/set/transaction_senders.mdx @@ -73,9 +73,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/settings/set/transaction_senders_in_static_files.mdx b/docs/vocs/docs/pages/cli/reth/db/settings/set/transaction_senders_in_static_files.mdx index 7dd4bb91af..d6baf890af 100644 --- a/docs/vocs/docs/pages/cli/reth/db/settings/set/transaction_senders_in_static_files.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/settings/set/transaction_senders_in_static_files.mdx @@ -73,9 +73,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/settings/set/use_hashed_state.mdx b/docs/vocs/docs/pages/cli/reth/db/settings/set/use_hashed_state.mdx index 9d3e635a02..cdec154efd 100644 --- a/docs/vocs/docs/pages/cli/reth/db/settings/set/use_hashed_state.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/settings/set/use_hashed_state.mdx @@ -73,9 +73,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/settings/set/v2.mdx b/docs/vocs/docs/pages/cli/reth/db/settings/set/v2.mdx index 38c8fb4318..00c47ae68a 100644 --- a/docs/vocs/docs/pages/cli/reth/db/settings/set/v2.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/settings/set/v2.mdx @@ -73,9 +73,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/state.mdx b/docs/vocs/docs/pages/cli/reth/db/state.mdx index c0b3ce9d6e..4c00967d81 100644 --- a/docs/vocs/docs/pages/cli/reth/db/state.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/state.mdx @@ -87,9 +87,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/static-file-header.mdx b/docs/vocs/docs/pages/cli/reth/db/static-file-header.mdx index 2894ca1f62..2908f69a52 100644 --- a/docs/vocs/docs/pages/cli/reth/db/static-file-header.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/static-file-header.mdx @@ -74,9 +74,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/static-file-header/block.mdx b/docs/vocs/docs/pages/cli/reth/db/static-file-header/block.mdx index 54808d46f4..908c8d5038 100644 --- a/docs/vocs/docs/pages/cli/reth/db/static-file-header/block.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/static-file-header/block.mdx @@ -84,9 +84,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/static-file-header/path.mdx b/docs/vocs/docs/pages/cli/reth/db/static-file-header/path.mdx index 9b566c88b2..f34cd355b3 100644 --- a/docs/vocs/docs/pages/cli/reth/db/static-file-header/path.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/static-file-header/path.mdx @@ -73,9 +73,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/stats.mdx b/docs/vocs/docs/pages/cli/reth/db/stats.mdx index 61afe8d775..340fee4a89 100644 --- a/docs/vocs/docs/pages/cli/reth/db/stats.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/stats.mdx @@ -85,9 +85,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/db/version.mdx b/docs/vocs/docs/pages/cli/reth/db/version.mdx index 6f6e6b282c..f9afb51d73 100644 --- a/docs/vocs/docs/pages/cli/reth/db/version.mdx +++ b/docs/vocs/docs/pages/cli/reth/db/version.mdx @@ -69,9 +69,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/download.mdx b/docs/vocs/docs/pages/cli/reth/download.mdx index 15927b1910..b25b05984c 100644 --- a/docs/vocs/docs/pages/cli/reth/download.mdx +++ b/docs/vocs/docs/pages/cli/reth/download.mdx @@ -180,9 +180,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/dump-genesis.mdx b/docs/vocs/docs/pages/cli/reth/dump-genesis.mdx index 954e96a448..f50389a222 100644 --- a/docs/vocs/docs/pages/cli/reth/dump-genesis.mdx +++ b/docs/vocs/docs/pages/cli/reth/dump-genesis.mdx @@ -68,9 +68,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/export-era.mdx b/docs/vocs/docs/pages/cli/reth/export-era.mdx index 813d82de19..0c358f8349 100644 --- a/docs/vocs/docs/pages/cli/reth/export-era.mdx +++ b/docs/vocs/docs/pages/cli/reth/export-era.mdx @@ -184,9 +184,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/import-era.mdx b/docs/vocs/docs/pages/cli/reth/import-era.mdx index 46199a7960..56a8599c5c 100644 --- a/docs/vocs/docs/pages/cli/reth/import-era.mdx +++ b/docs/vocs/docs/pages/cli/reth/import-era.mdx @@ -179,9 +179,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/import.mdx b/docs/vocs/docs/pages/cli/reth/import.mdx index c999ac7ed2..9eccad0782 100644 --- a/docs/vocs/docs/pages/cli/reth/import.mdx +++ b/docs/vocs/docs/pages/cli/reth/import.mdx @@ -187,9 +187,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/init-state.mdx b/docs/vocs/docs/pages/cli/reth/init-state.mdx index 27d9e1a868..774ac27e8b 100644 --- a/docs/vocs/docs/pages/cli/reth/init-state.mdx +++ b/docs/vocs/docs/pages/cli/reth/init-state.mdx @@ -200,9 +200,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/init.mdx b/docs/vocs/docs/pages/cli/reth/init.mdx index 4fbeb24ebd..2669982e63 100644 --- a/docs/vocs/docs/pages/cli/reth/init.mdx +++ b/docs/vocs/docs/pages/cli/reth/init.mdx @@ -168,9 +168,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/node.mdx b/docs/vocs/docs/pages/cli/reth/node.mdx index 3ec6de8a0b..80f2aebdc4 100644 --- a/docs/vocs/docs/pages/cli/reth/node.mdx +++ b/docs/vocs/docs/pages/cli/reth/node.mdx @@ -1100,9 +1100,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/p2p.mdx b/docs/vocs/docs/pages/cli/reth/p2p.mdx index d942762999..b72bafd780 100644 --- a/docs/vocs/docs/pages/cli/reth/p2p.mdx +++ b/docs/vocs/docs/pages/cli/reth/p2p.mdx @@ -67,9 +67,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/p2p/body.mdx b/docs/vocs/docs/pages/cli/reth/p2p/body.mdx index c958c8cc25..0a167ee637 100644 --- a/docs/vocs/docs/pages/cli/reth/p2p/body.mdx +++ b/docs/vocs/docs/pages/cli/reth/p2p/body.mdx @@ -321,9 +321,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/p2p/bootnode.mdx b/docs/vocs/docs/pages/cli/reth/p2p/bootnode.mdx index 47e73dd7d0..3df6733daf 100644 --- a/docs/vocs/docs/pages/cli/reth/p2p/bootnode.mdx +++ b/docs/vocs/docs/pages/cli/reth/p2p/bootnode.mdx @@ -77,9 +77,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/p2p/enode.mdx b/docs/vocs/docs/pages/cli/reth/p2p/enode.mdx index 93f6924787..41970795bb 100644 --- a/docs/vocs/docs/pages/cli/reth/p2p/enode.mdx +++ b/docs/vocs/docs/pages/cli/reth/p2p/enode.mdx @@ -68,9 +68,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/p2p/header.mdx b/docs/vocs/docs/pages/cli/reth/p2p/header.mdx index 2f80a07cb4..d1714e4867 100644 --- a/docs/vocs/docs/pages/cli/reth/p2p/header.mdx +++ b/docs/vocs/docs/pages/cli/reth/p2p/header.mdx @@ -321,9 +321,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/p2p/rlpx.mdx b/docs/vocs/docs/pages/cli/reth/p2p/rlpx.mdx index 6e728e7154..51b239fd2c 100644 --- a/docs/vocs/docs/pages/cli/reth/p2p/rlpx.mdx +++ b/docs/vocs/docs/pages/cli/reth/p2p/rlpx.mdx @@ -63,9 +63,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/p2p/rlpx/ping.mdx b/docs/vocs/docs/pages/cli/reth/p2p/rlpx/ping.mdx index cef500ecce..f9583a8397 100644 --- a/docs/vocs/docs/pages/cli/reth/p2p/rlpx/ping.mdx +++ b/docs/vocs/docs/pages/cli/reth/p2p/rlpx/ping.mdx @@ -63,9 +63,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/prune.mdx b/docs/vocs/docs/pages/cli/reth/prune.mdx index 2c3330cc1c..1191655fc8 100644 --- a/docs/vocs/docs/pages/cli/reth/prune.mdx +++ b/docs/vocs/docs/pages/cli/reth/prune.mdx @@ -186,9 +186,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/re-execute.mdx b/docs/vocs/docs/pages/cli/reth/re-execute.mdx index 79e99d3306..e6b57479dd 100644 --- a/docs/vocs/docs/pages/cli/reth/re-execute.mdx +++ b/docs/vocs/docs/pages/cli/reth/re-execute.mdx @@ -182,9 +182,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/stage.mdx b/docs/vocs/docs/pages/cli/reth/stage.mdx index 527398c086..1ce4d32a4c 100644 --- a/docs/vocs/docs/pages/cli/reth/stage.mdx +++ b/docs/vocs/docs/pages/cli/reth/stage.mdx @@ -66,9 +66,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/stage/drop.mdx b/docs/vocs/docs/pages/cli/reth/stage/drop.mdx index 75eb0cb97a..77e04342c9 100644 --- a/docs/vocs/docs/pages/cli/reth/stage/drop.mdx +++ b/docs/vocs/docs/pages/cli/reth/stage/drop.mdx @@ -182,9 +182,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/stage/dump.mdx b/docs/vocs/docs/pages/cli/reth/stage/dump.mdx index 6a1126378a..94f01d5750 100644 --- a/docs/vocs/docs/pages/cli/reth/stage/dump.mdx +++ b/docs/vocs/docs/pages/cli/reth/stage/dump.mdx @@ -175,9 +175,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/stage/dump/account-hashing.mdx b/docs/vocs/docs/pages/cli/reth/stage/dump/account-hashing.mdx index 73fc6125c8..a5e9962097 100644 --- a/docs/vocs/docs/pages/cli/reth/stage/dump/account-hashing.mdx +++ b/docs/vocs/docs/pages/cli/reth/stage/dump/account-hashing.mdx @@ -81,9 +81,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/stage/dump/execution.mdx b/docs/vocs/docs/pages/cli/reth/stage/dump/execution.mdx index d5daaaf660..250820f5a4 100644 --- a/docs/vocs/docs/pages/cli/reth/stage/dump/execution.mdx +++ b/docs/vocs/docs/pages/cli/reth/stage/dump/execution.mdx @@ -81,9 +81,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/stage/dump/merkle.mdx b/docs/vocs/docs/pages/cli/reth/stage/dump/merkle.mdx index 3b5ae17e2e..ae1ac1a6f6 100644 --- a/docs/vocs/docs/pages/cli/reth/stage/dump/merkle.mdx +++ b/docs/vocs/docs/pages/cli/reth/stage/dump/merkle.mdx @@ -81,9 +81,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/stage/dump/storage-hashing.mdx b/docs/vocs/docs/pages/cli/reth/stage/dump/storage-hashing.mdx index 85fba8cbf7..f9a7665d7e 100644 --- a/docs/vocs/docs/pages/cli/reth/stage/dump/storage-hashing.mdx +++ b/docs/vocs/docs/pages/cli/reth/stage/dump/storage-hashing.mdx @@ -81,9 +81,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/stage/run.mdx b/docs/vocs/docs/pages/cli/reth/stage/run.mdx index 12e41da26f..8d5ecc1073 100644 --- a/docs/vocs/docs/pages/cli/reth/stage/run.mdx +++ b/docs/vocs/docs/pages/cli/reth/stage/run.mdx @@ -434,9 +434,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/stage/unwind.mdx b/docs/vocs/docs/pages/cli/reth/stage/unwind.mdx index 74ed89f9bc..306eeb508a 100644 --- a/docs/vocs/docs/pages/cli/reth/stage/unwind.mdx +++ b/docs/vocs/docs/pages/cli/reth/stage/unwind.mdx @@ -176,9 +176,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/stage/unwind/num-blocks.mdx b/docs/vocs/docs/pages/cli/reth/stage/unwind/num-blocks.mdx index 56d3098042..6dc03960b5 100644 --- a/docs/vocs/docs/pages/cli/reth/stage/unwind/num-blocks.mdx +++ b/docs/vocs/docs/pages/cli/reth/stage/unwind/num-blocks.mdx @@ -73,9 +73,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/stage/unwind/to-block.mdx b/docs/vocs/docs/pages/cli/reth/stage/unwind/to-block.mdx index 2eb72130b7..0778b185b4 100644 --- a/docs/vocs/docs/pages/cli/reth/stage/unwind/to-block.mdx +++ b/docs/vocs/docs/pages/cli/reth/stage/unwind/to-block.mdx @@ -73,9 +73,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald diff --git a/docs/vocs/docs/pages/cli/reth/test-vectors/tables.mdx b/docs/vocs/docs/pages/cli/reth/test-vectors/tables.mdx index d5623133bf..9a5a2ade29 100644 --- a/docs/vocs/docs/pages/cli/reth/test-vectors/tables.mdx +++ b/docs/vocs/docs/pages/cli/reth/test-vectors/tables.mdx @@ -76,9 +76,9 @@ Logging: [default: 200] --log.file.max-files - The maximum amount of log files that will be stored. If set to 0, background file logging is disabled + The maximum amount of log files that will be stored. If set to 0, background file logging is disabled. - [default: 5] + Default: 5 for `node` command, 0 for non-node utility subcommands. --log.journald Write logs to journald