Setting the --verbose flag will only cause the Topgrade logger to be set to debug messages

This commit is contained in:
Roey Darwish Dror
2019-07-31 11:17:43 +03:00
parent 50b020acb3
commit 4a28090896

View File

@@ -77,7 +77,7 @@ fn run() -> Result<(), Error> {
let mut env = Env::default();
if config.verbose() {
env = env.filter_or("LOG_LEVEL", "info");
env = env.filter_or("LOG_LEVEL", "topgrade=debug");
}
env_logger::init_from_env(env);