chore: rename log file

This commit is contained in:
2024-10-21 17:13:42 +08:00
parent f8be1ab14b
commit 86193e0ef1
+1 -1
View File
@@ -26,7 +26,7 @@ formatter = logging.Formatter("%(asctime)s - %(levelname)s - %(message)s")
# 文件处理器
file_handler = RotatingFileHandler(
"score_upload.log", maxBytes=1_000_000, backupCount=5
"running.log", mode="a", maxBytes=1_000_000, backupCount=5
)
file_handler.setLevel(logging.WARNING)
file_handler.setFormatter(formatter)