chore: rename log file
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user