xtask: Change default loglevel

This commit is contained in:
Henrik Tjäder 2023-03-15 20:32:39 +01:00
parent 7c7d6558f6
commit 96aa385b55

View file

@ -109,9 +109,8 @@ fn main() -> anyhow::Result<()> {
let cli = Cli::parse();
let env_logger_default_level = match cli.verbose {
0 => Env::default().default_filter_or("error"),
1 => Env::default().default_filter_or("info"),
2 => Env::default().default_filter_or("debug"),
0 => Env::default().default_filter_or("info"),
1 => Env::default().default_filter_or("debug"),
_ => Env::default().default_filter_or("trace"),
};
env_logger::Builder::from_env(env_logger_default_level)