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