Skip to content

Commit

Permalink
Lower default log level to Warn
Browse files Browse the repository at this point in the history
  • Loading branch information
jcronenberg committed Oct 18, 2023
1 parent b0850d2 commit 72b40f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/agama-migrate-wicked/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ struct Cli {

#[derive(Debug, Args)]
struct GlobalOpts {
#[arg(long, global = true, default_value_t = LevelFilter::Error, 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::Warn, value_parser = clap::builder::PossibleValuesParser::new(["TRACE", "DEBUG", "INFO", "WARN", "ERROR"]).map(|s| s.parse::<LevelFilter>().unwrap()),)]
pub log_level: LevelFilter,
}

Expand Down

0 comments on commit 72b40f3

Please sign in to comment.