Exclude hyper from normal-verbosity logs
This commit is contained in:
parent
5d62a2891c
commit
a5c0552341
1 changed files with 1 additions and 0 deletions
|
|
@ -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()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue