Skip to content

Commit

Permalink
neater progress log messages: don't show the module it originates from
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Jul 1, 2020
1 parent 30925e6 commit 026a0dd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plumbing/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ pub mod lean;
#[cfg(feature = "env_logger")]
fn init_env_logger(verbose: bool) {
if verbose {
env_logger::init_from_env(env_logger::Env::default().default_filter_or("info"));
env_logger::Builder::from_env(env_logger::Env::default().default_filter_or("info"))
.format_module_path(false)
.init();
} else {
env_logger::init();
}
Expand Down

0 comments on commit 026a0dd

Please sign in to comment.