From bcfe8b14a3e9f728ae5b92873a0e5ae790506ad4 Mon Sep 17 00:00:00 2001 From: asonix Date: Thu, 26 Mar 2020 09:22:57 -0500 Subject: [PATCH] Quiet some logs in debug mode --- src/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 5f4adc9..bd88a12 100644 --- a/src/main.rs +++ b/src/main.rs @@ -33,7 +33,10 @@ async fn main() -> Result<(), anyhow::Error> { let config = Config::build()?; if config.debug() { - std::env::set_var("RUST_LOG", "debug,tokio_postgres=info") + std::env::set_var( + "RUST_LOG", + "debug,tokio_postgres=info,h2=info,trust_dns_resolver=info,trust_dns_proto=info,rustls=info", + ) } else { std::env::set_var("RUST_LOG", "info") }