Skip to content

Use Claude Code, Codex, VSCode, Pi, and OpenCode (and 6 other harnesses) for free (1.3B+ free tokens) from your terminal, app, IDE, or phone, and now from the browser with native browser sessions (multi-harness + multi-model) like OpenClaw (voice supported + ToS friendly)

Python

debug file handler set to write mode by default

Alishahryar159ef7e69124d
diff --git a/providers/logging_utils.py b/providers/logging_utils.py
index 0b987ccd..f802baf2 100644
--- a/providers/logging_utils.py
+++ b/providers/logging_utils.py
@@ -27,6 +27,7 @@ def _get_debug_handler() -> RotatingFileHandler:
maxBytes=10 * 1024 * 1024, # 10MB
backupCount=3,
encoding="utf-8",
+ mode='w'
)
_debug_handler.setLevel(logging.DEBUG)
return _debug_handler