Skip to content

Commit

Permalink
Set default log level to Info
Browse files Browse the repository at this point in the history
Now that only the relevant infos are shown the log doesn't get spammed by agama
info logs.
  • Loading branch information
jcronenberg committed Sep 24, 2024
1 parent 983bbb2 commit 96af746
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/migrate-wicked/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<LevelFilter>().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::<LevelFilter>().unwrap()),)]
pub log_level: LevelFilter,

#[arg(long, global = true, env = "MIGRATE_WICKED_WITHOUT_NETCONFIG")]
Expand Down

0 comments on commit 96af746

Please sign in to comment.