### Changed - Implement professional logging system with RotatingFileHandler - Move logs from data/ to separate logs/ directory - Add separate error.log with full tracebacks - Configure automatic log rotation (10MB max, 5 backups) - Add configurable log size and rotation settings - Improve console output format ### Configuration - New logging options in config.yaml: - max_bytes: 10485760 (10MB) - backup_count: 5 - error_file: separate error log path ### Files - logs/watchdog.log - Main log (all messages) - logs/error.log - Error log (errors only with traceback) - Auto-rotation: *.log.1-5 backups Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .gitkeep | ||