miroir/crates
jedarden eb354bc3bb P7.5: structured JSON logging with request IDs and trace correlation
Convert all unstructured format-string logging (tracing::error!("msg: {}", var))
to structured field format (tracing::error!(error = %e, "msg")) across route
handlers and key rotation. Strip response text bodies from error messages in
scoped key mint/revoke paths to prevent potential PII (key material) from
appearing in logs.

The core structured JSON logging infrastructure (tracing-subscriber JSON layer,
request ID generation via UUIDv7, pod_id from POD_NAME env, telemetry middleware
span with request_id/pod_id/method/path) was already in place from prior work.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-20 08:28:39 -04:00
..
miroir-core P10.5: scoped Meilisearch key rotation with multi-pod coordination 2026-04-20 07:33:29 -04:00
miroir-ctl P10.3: SEARCH_UI_JWT_SECRET dual-secret overlap rotation 2026-04-19 16:17:33 -04:00
miroir-proxy P7.5: structured JSON logging with request IDs and trace correlation 2026-04-20 08:28:39 -04:00