Use info level for http requests instead of debug to reduce clutter (#64)

Makes the log only 1 line instead of like 7 for each frame that gets
sent
This commit is contained in:
Noa Aarts 2024-12-11 20:26:04 +01:00 committed by GitHub
commit 5c3690d72a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -97,7 +97,7 @@ async fn main() {
tracing_subscriber::registry()
.with(
tracing_subscriber::EnvFilter::try_from_default_env().unwrap_or_else(|_| {
format!("{}=debug,tower_http=debug", env!("CARGO_CRATE_NAME")).into()
format!("{}=info,tower_http=info", env!("CARGO_CRATE_NAME")).into()
}),
)
.with(tracing_subscriber::fmt::layer())