Skip to content

Commit

Permalink
Revert level filter adjustment
Browse files Browse the repository at this point in the history
See #1907
  • Loading branch information
rklaehn committed Dec 19, 2023
1 parent 3734dac commit 1648c6a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions iroh/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ use std::time::Duration;

use anyhow::Result;
use clap::Parser;
use tracing::level_filters::LevelFilter;
use tracing_subscriber::{prelude::*, EnvFilter};

mod commands;
Expand All @@ -28,11 +27,7 @@ async fn main_impl() -> Result<()> {
let lp = tokio_util::task::LocalPoolHandle::new(num_cpus::get());
tracing_subscriber::registry()
.with(tracing_subscriber::fmt::layer().with_writer(std::io::stderr))
.with(
EnvFilter::builder()
.with_default_directive(LevelFilter::OFF.into())
.from_env_lossy(),
)
.with(EnvFilter::from_default_env())
.init();

let cli = Cli::parse();
Expand Down

0 comments on commit 1648c6a

Please sign in to comment.