feat(log): disable file logging by default for non-node commands (#21521)

Co-authored-by: Amp <amp@ampcode.com>
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
This commit is contained in:
zhygis
2026-02-19 04:16:47 +01:00
committed by GitHub
parent cd32e3cc05
commit 5c83eb0b06
76 changed files with 221 additions and 150 deletions

View File

@@ -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

View File

@@ -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();

View File

@@ -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<usize>,
/// 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);

View File

@@ -79,9 +79,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -65,9 +65,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -187,9 +187,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -73,9 +73,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -75,9 +75,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -82,9 +82,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -81,9 +81,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -90,9 +90,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -73,9 +73,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -74,9 +74,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -73,9 +73,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -79,9 +79,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -82,9 +82,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -125,9 +125,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -72,9 +72,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -74,9 +74,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -88,9 +88,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -88,9 +88,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -115,9 +115,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -69,9 +69,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -74,9 +74,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -74,9 +74,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -91,9 +91,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -77,9 +77,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -74,9 +74,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -69,9 +69,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -73,9 +73,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -73,9 +73,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -73,9 +73,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -73,9 +73,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -73,9 +73,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -73,9 +73,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -73,9 +73,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -73,9 +73,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -73,9 +73,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -73,9 +73,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -73,9 +73,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -73,9 +73,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -87,9 +87,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -74,9 +74,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -84,9 +84,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -73,9 +73,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -85,9 +85,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -69,9 +69,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -180,9 +180,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -68,9 +68,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -184,9 +184,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -179,9 +179,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -187,9 +187,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -200,9 +200,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -168,9 +168,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -1100,9 +1100,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -67,9 +67,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -321,9 +321,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -77,9 +77,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -68,9 +68,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -321,9 +321,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -63,9 +63,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -63,9 +63,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -186,9 +186,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -182,9 +182,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -66,9 +66,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -182,9 +182,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -175,9 +175,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -81,9 +81,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -81,9 +81,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -81,9 +81,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -81,9 +81,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -434,9 +434,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -176,9 +176,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -73,9 +73,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -73,9 +73,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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

View File

@@ -76,9 +76,9 @@ Logging:
[default: 200]
--log.file.max-files <COUNT>
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