Summary
- Add GATEKEEPER_REQUEST_LOGGING=true to log every request with method, path, client_ip, status, latency_ms
- Disabled by default — existing behavior unchanged (errors only)
- Client IP from x-forwarded-for / x-real-ip / socket — same IP traceable across LB, gatekeeper, PDS
Test plan
- cargo test — 26 tests pass
- Without env var: no change in log output
- GATEKEEPER_REQUEST_LOGGING=true: request logs appear