debug file handler set to write mode by default

This commit is contained in:
Alishahryar1
2026-01-29 02:01:06 -08:00
parent 4fef34bba7
commit 59ef7e6912
+1
View File
@@ -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