Description
Add structured logging and error tracking to help debug issues in production.
Acceptance Criteria
Implementation Details
- Use Python
logging module with JSON formatter
- Create logger utility in
LiveEditBackend/utils/logger.py
- Integrate with Sentry for error tracking (optional but recommended)
- Add middleware to log all requests
- Structure: timestamp, level, endpoint, error_message, traceback
Logging Checklist
Difficulty: Medium
Estimated time: 3-4 hours
Description
Add structured logging and error tracking to help debug issues in production.
Acceptance Criteria
.envImplementation Details
loggingmodule with JSON formatterLiveEditBackend/utils/logger.pyLogging Checklist
Difficulty: Medium
Estimated time: 3-4 hours