修复日志落盘文件名称

This commit is contained in:
wangxu 2025-10-27 11:12:32 +08:00
parent 1ac4c64b4a
commit ab5a549f4c
1 changed files with 1 additions and 1 deletions

2
run.py
View File

@ -6,7 +6,7 @@ from app.cross_eva_views import *
def init_log():
# 创建一个按日期拆分的日志处理程序
logpath = 'log/wave_manager.log'
logpath = 'log/cross_doctor.log'
tr_handler = TimedRotatingFileHandler(logpath, when='midnight', interval=1, backupCount=14)
logging.basicConfig(level=logging.DEBUG, encoding='utf-8',
format='%(asctime)s %(levelname)s %(message)s',