diff --git a/rust/agama-server/src/web/service.rs b/rust/agama-server/src/web/service.rs index a5eeb93179..5490fef000 100644 --- a/rust/agama-server/src/web/service.rs +++ b/rust/agama-server/src/web/service.rs @@ -100,10 +100,12 @@ impl MainServiceBuilder { .layer(TraceLayer::new_for_http() .on_request(|request: &Request, _span: &Span| { tracing::info!("request: {} {}", request.method(), request.uri().path()) - }) - .on_response(|response: &Response, latency: Duration, _span: &Span| { - tracing::info!("response: {} {:?}", response.status(), latency) - }) + }) + .on_response( + |response: &Response, latency: Duration, _span: &Span| { + tracing::info!("response: {} {:?}", response.status(), latency) + }, + ), ) .layer(CompressionLayer::new().br(true)) .with_state(state)