TradingAgents/tradingagents/dataflows
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
..
trending Update stock_resolver.py 2025-12-02 20:41:02 -05:00
__init__.py WIP 2025-09-26 16:17:50 +08:00
alpha_vantage.py Add Alpha Vantage API integration as primary data provider 2025-09-26 22:57:50 +08:00
alpha_vantage_common.py feat: add centralized logging module with dual output support 2025-12-03 02:11:29 -05:00
alpha_vantage_fundamentals.py Add Alpha Vantage API integration as primary data provider 2025-09-26 22:57:50 +08:00
alpha_vantage_indicator.py feat: add centralized logging module with dual output support 2025-12-03 02:11:29 -05:00
alpha_vantage_news.py feat: add centralized logging module with dual output support 2025-12-03 02:11:29 -05:00
alpha_vantage_stock.py Add Alpha Vantage API integration as primary data provider 2025-09-26 22:57:50 +08:00
brave.py feat: add centralized logging module with dual output support 2025-12-03 02:11:29 -05:00
config.py chore(release): v0.1.0 – initial public release of TradingAgents 2025-06-05 04:27:57 -07:00
google.py Update google.py 2025-12-02 20:40:44 -05:00
googlenews_utils.py feat: add centralized logging module with dual output support 2025-12-03 02:11:29 -05:00
interface.py feat: add centralized logging module with dual output support 2025-12-03 02:11:29 -05:00
local.py feat: add centralized logging module with dual output support 2025-12-03 02:11:29 -05:00
openai.py Update openai.py 2025-12-02 20:40:58 -05:00
reddit_utils.py chore(release): v0.1.0 – initial public release of TradingAgents 2025-06-05 04:27:57 -07:00
stockstats_utils.py Add Alpha Vantage API integration as primary data provider 2025-09-26 22:57:50 +08:00
tavily.py feat: add centralized logging module with dual output support 2025-12-03 02:11:29 -05:00
utils.py feat: add centralized logging module with dual output support 2025-12-03 02:11:29 -05:00
y_finance.py feat: add centralized logging module with dual output support 2025-12-03 02:11:29 -05:00
yfin_utils.py feat: add centralized logging module with dual output support 2025-12-03 02:11:29 -05:00