From e129bf6651ed90559cd00bc0e26e68780cb37f5f Mon Sep 17 00:00:00 2001 From: Yusuf Bera Ertan Date: Fri, 5 May 2023 13:33:34 +0300 Subject: [PATCH] refactor: dont pretty print headers on request --- src/handler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handler.rs b/src/handler.rs index decdc79..fdf22ae 100644 --- a/src/handler.rs +++ b/src/handler.rs @@ -99,7 +99,7 @@ pub(super) async fn handler(state: AppState) -> Result<(Router, Router), AppErro .make_span_with(make_span_trace) .on_request(|req: &Request, _span: &Span| { tracing::debug!( - "started processing request with headers: {:#?}", + "started processing request with headers: {:?}", req.headers() ) });