chore: add TraceLayer for per-request method and path logging

This commit is contained in:
2026-04-27 21:59:07 +03:00
parent a120838cbc
commit e6b5cb75ba
3 changed files with 8 additions and 7 deletions

View File

@@ -5,11 +5,11 @@ edition = "2024"
[dependencies]
anyhow = "1.0.102"
axum = { version = "0.8.9", features = [] }
axum = { version = "0.8.9", features = ["tracing"] }
serde = { version = "1.0.228", features = ["derive"] }
serde_json = "1.0.149"
tokio = { version = "1.51.0", features = ["full"] }
tower-http = { version = "0.6.8", features = ["fs"] }
tokio = { version = "1.52.1", features = ["full"] }
tower-http = { version = "0.6.8", features = ["fs", "trace"] }
tower-cookies = "0.11.0"
tracing = "0.1.44"
tracing-subscriber = { version = "0.3.23", features = ["env-filter"] }