Spaces:
Runtime error
Runtime error
Commit History
-
fix(redis): cut workers to 7 total, remove per-iteration Redis calls to reduce connection pressure
dfbedd9 -
feat(logging): implement production-grade structured logging with JSON and rotating files
- Add JSONFormatter for structured JSON output compatible with log aggregators (ELK, CloudWatch, Datadog) - Add ConsoleFormatter with color-coded output for local development - Implement rotating file handlers with configurable size and backup limits - Add separate error.log file for ERROR and CRITICAL level logs - Create LoggerAdapter for injecting worker/entity context into log records - Add structured startup/shutdown events with service metadata - Extend .env.example with LOG_FORMAT, LOG_DIR, LOG_MAX_BYTES, and LOG_BACKUP_COUNT configuration options - Update worker_manager.py to use new logging context for worker lifecycle events - Update base_service.py to emit structured logs for sync operations - Update main.py to initialize logging with startup event - Enables production-ready log aggregation while maintaining human-readable console output for local developmentf2bfacd
-
first commit
6391dfd