From 96af7468f1e778f441621000f71b7b400c2516a3 Mon Sep 17 00:00:00 2001 From: Jorik Cronenberg Date: Tue, 24 Sep 2024 12:10:54 +0200 Subject: [PATCH] Set default log level to Info Now that only the relevant infos are shown the log doesn't get spammed by agama info logs. --- rust/migrate-wicked/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/migrate-wicked/src/main.rs b/rust/migrate-wicked/src/main.rs index 5eb09d1f0a..6abd0c1eba 100644 --- a/rust/migrate-wicked/src/main.rs +++ b/rust/migrate-wicked/src/main.rs @@ -34,7 +34,7 @@ struct Cli { #[derive(Debug, Args)] struct GlobalOpts { - #[arg(long, global = true, default_value_t = LevelFilter::Warn, value_parser = clap::builder::PossibleValuesParser::new(["TRACE", "DEBUG", "INFO", "WARN", "ERROR"]).map(|s| s.parse::().unwrap()),)] + #[arg(long, global = true, default_value_t = LevelFilter::Info, value_parser = clap::builder::PossibleValuesParser::new(["TRACE", "DEBUG", "INFO", "WARN", "ERROR"]).map(|s| s.parse::().unwrap()),)] pub log_level: LevelFilter, #[arg(long, global = true, env = "MIGRATE_WICKED_WITHOUT_NETCONFIG")]