# 08: FastAPI: Add Structured Logging **What to build:** Implement structured JSON logging for the API. - Implement structured JSON logging (timestamps, levels, context fields) - Add logging middleware for request context - Configure log levels per environment **Blocked by:** 5. **Status:** ready-for-agent - [ ] Structured JSON logging is working (timestamps, levels, context) - [ ] Logging middleware captures request context - [ ] Log levels are configurable per environment