4 Commits

Author SHA1 Message Date
Misaka_Company
f9b2d3b4da feat: add automatic log archiving by year-month
- Add archive_old_logs() method to LoggerManager in log_utils.py
- Logs are automatically moved to Archive/YYYY-MM/ directory when new log is created
- Create archive_existing_logs.py script for one-time migration of existing logs
- Archive 386 existing log files into organized year-month structure
- Keep only current log file in log/ root directory for cleaner management

🤖 Generated with [Qoder][https://lingma.aliyun.com]
2026-06-16 14:03:07 +08:00
Misaka_Company
3db6bae4e3 chore: update gitignore and disable stdout reconfiguration
- Add .agents/ directory to .gitignore
- Comment out sys.stdout.reconfigure() to prevent encoding issues

🤖 Generated with [Qoder][https://lingma.aliyun.com]
2026-06-16 11:24:41 +08:00
Misaka_Company
04779c5aea fix: force UTF-8 on console output to avoid GBK encoding errors
Windows Chinese locale defaults stdout to GBK which cannot encode
emoji characters used in log messages. Reconfigure stdout to UTF-8.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-12 12:31:00 +08:00
Misaka_Company
4721634b81 Refactor logging system to use unified log_utils module and enhance logging messages across multiple scripts 2026-01-12 13:55:28 +08:00