Limit debug logs from external crates

47 views Asked by At

I'm trying to limit debug logs from other crates. This is how I'm init logging

    let subscriber = tracing_subscriber::fmt::Subscriber::builder()
        .with_max_level(args.log_level)
        .finish();
    tracing::subscriber::set_global_default(subscriber)?;
0

There are 0 answers