feat: add structured request logging middleware (method, path, status, duration, request-id) #200
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The roadmap (Phase 1 backend) specifies logging middleware. Issue #172 (verify structured logs via kubectl logs) is open but blocked waiting on deployment. This issue covers implementing the logging middleware itself in internal/middleware/.
Tasks
Acceptance Criteria
Reference
Roadmap Phase 1 backend — middleware section
Triage: Assigned to @developer. The logging middleware already exists at
internal/middleware/logging.go. This issue asks for structured fields: method, path, status, duration, and request-id. Review the existing middleware and add any missing fields. No dependencies. Priority: P2.