Skip to content

Commit

Permalink
fix: remove some of the most verbose logs (#499)
Browse files Browse the repository at this point in the history
  • Loading branch information
morgante authored Sep 12, 2024
1 parent 83154ca commit 2499a8a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion crates/cli/src/commands/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,11 @@ async fn run_command(_use_tracing: bool) -> Result<()> {
#[cfg(feature = "grit_tracing")]
if !_use_tracing {
setup_env_logger(&app, &multi);
} else if let Err(e) = tracing_log::LogTracer::init() {
} else if let Err(e) = tracing_log::log_tracer::Builder::new()
.ignore_all(vec!["rustls", "tonic", "mio", "hyper"])
.with_max_level(LevelFilter::Debug)
.init()
{
eprintln!("Failed to initialize LogTracer: {:?}", e);
setup_env_logger(&app, &multi)
}
Expand Down

0 comments on commit 2499a8a

Please sign in to comment.