-
SummaryI have two services: one on Axum and another one on Actix. This is my axum's router configuration: let router = Router::new()
.route(...)
.layer(CorsLayer::permissive())
.layer(
TraceLayer::new_for_http()
.make_span_with(trace::DefaultMakeSpan::new().level(Level::INFO))
.on_response(trace::DefaultOnResponse::new().level(Level::INFO))
.on_failure({})
) The main question: is it right or no? Should it be fixed/How to configure this? axum version0.8.1 |
Beta Was this translation helpful? Give feedback.
Answered by
jplatte
Jun 27, 2025
Replies: 1 comment 3 replies
-
The question is quite open, and is debated in other servers as well: hapijs/hapi#4397 |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
By applying it "around the router", I meant something like this.