TradingAgents/tradingagents/agents/utils
Joseph O'Brien 80e8fb0eee feat: add centralized logging module with dual output support
Add tradingagents/logging.py with JSONFormatter for structured file logs
and RichHandler for colored console output. Migrate 59 print statements
across 13 files to proper logger calls. Configure via environment
variables (TRADINGAGENTS_LOG_LEVEL, etc.) with default_config fallback.

- Rotating file handler: 10MB max, 5 backups to logs/tradingagents.log
- Rich console handler with tracebacks for development
- Logger hierarchy follows module paths (tradingagents.dataflows.*, etc.)
- 20 feature-specific tests covering core, config, migration, integration

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-03 02:11:29 -05:00
..
agent_states.py Add trending stock discovery feature 2025-12-02 20:19:34 -05:00
agent_utils.py Add trending stock discovery feature 2025-12-02 20:19:34 -05:00
core_stock_tools.py minor fix 2025-09-26 23:25:33 +08:00
fundamental_data_tools.py minor fix 2025-09-26 23:25:33 +08:00
memory.py feat: add centralized logging module with dual output support 2025-12-03 02:11:29 -05:00
news_data_tools.py minor fix 2025-09-26 23:25:33 +08:00
technical_indicators_tools.py minor fix 2025-09-26 23:25:33 +08:00