- Replace chi's Logger middleware with structured slog-based logging - Log request start (debug) and completion (info/warn/error by status) - Include method, path, status, duration_ms, remote_addr in logs - Increase request timeout from 8s to 30s for slow queries - Add read/write/idle timeouts to HTTP server config - Better server startup logging to confirm listening state |
||
|---|---|---|
| .. | ||
| handlers.go | ||
| middleware.go | ||
| routes.go | ||
| server.go | ||