Setting the --verbose flag will only cause the Topgrade logger to be set to debug messages
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user