Exclude hyper from normal-verbosity logs

This commit is contained in:
Joscha 2023-08-05 20:34:28 +02:00
parent 5d62a2891c
commit a5c0552341

View file

@ -37,6 +37,7 @@ struct Args {
fn set_up_logging(verbose: u8) { fn set_up_logging(verbose: u8) {
let filter = Targets::new() let filter = Targets::new()
.with_default(Level::TRACE) .with_default(Level::TRACE)
.with_target("hyper", Level::INFO)
.with_target("sqlx", Level::INFO); .with_target("sqlx", Level::INFO);
match verbose { match verbose {
0 => tracing_subscriber::fmt() 0 => tracing_subscriber::fmt()