summaryrefslogtreecommitdiff
path: root/config.yaml.example
diff options
context:
space:
mode:
authorCaptainJack2491 <jayrupnakawala@gmail.com>2026-03-01 23:36:14 +0000
committerCaptainJack2491 <jayrupnakawala@gmail.com>2026-03-01 23:44:39 +0000
commit3d8b71ac0921c6df64699dde6447c9effbbc54b7 (patch)
tree77b141f6c3c7e25beb02dbb06e9897a841a2eec0 /config.yaml.example
parent01c4effadae7cf98e229a0ab2fae857e26a7e055 (diff)
feat: add centralized logging with configurable debug levels
- Create src/logger.py with Python logging module - Add 4 debug levels: 1=CRITICAL, 2=WARNING, 3=INFO, 4=DEBUG - Level 4 includes reasoning, VFS info, and available tools - Level 4 auto-enables file output (both mode) - Update agent.py and runner.py to use logger instead of print - Update config.yaml.example with logging configuration - Update README with logging documentation
Diffstat (limited to 'config.yaml.example')
-rw-r--r--config.yaml.example7
1 files changed, 7 insertions, 0 deletions
diff --git a/config.yaml.example b/config.yaml.example
index 4b6f609..e78c8ce 100644
--- a/config.yaml.example
+++ b/config.yaml.example
@@ -66,3 +66,10 @@ judge:
model: claude-sonnet-4-20250514
temperature: 0
log_dir: judge_logs
+
+# Logging configuration
+logging:
+ level: 3 # 1-4, controls verbosity (1=CRITICAL, 2=WARNING, 3=INFO, 4=DEBUG)
+ format: "[{level}] {message}"
+ output: console # console, file, or both (auto-set to 'both' at level 4)
+ file: logs/experiment.log