change: base 改变log backupcount为30

This commit is contained in:
caoqianming 2025-03-31 15:08:23 +08:00
parent 1936fe183f
commit 0b76602c84
1 changed files with 3 additions and 3 deletions

View File

@ -312,7 +312,7 @@ LOGGING = {
'when': 'midnight', # 每天午夜滚动 'when': 'midnight', # 每天午夜滚动
'interval': 1, 'interval': 1,
'maxBytes': 1024 * 1024 * 2, # 文件大小 'maxBytes': 1024 * 1024 * 2, # 文件大小
'backupCount': 10, # 备份数 'backupCount': 30, # 备份数
'formatter': 'standard', # 输出格式 'formatter': 'standard', # 输出格式
'encoding': 'utf-8', # 设置默认编码,否则打印出来汉字乱码 'encoding': 'utf-8', # 设置默认编码,否则打印出来汉字乱码
}, },
@ -324,7 +324,7 @@ LOGGING = {
'when': 'midnight', 'when': 'midnight',
'interval': 1, 'interval': 1,
'maxBytes': 1024 * 1024 * 2, # 文件大小 'maxBytes': 1024 * 1024 * 2, # 文件大小
'backupCount': 10, # 备份数 'backupCount': 30, # 备份数
'formatter': 'standard', # 输出格式 'formatter': 'standard', # 输出格式
'encoding': 'utf-8', # 设置默认编码 'encoding': 'utf-8', # 设置默认编码
}, },
@ -343,7 +343,7 @@ LOGGING = {
'when': 'midnight', 'when': 'midnight',
'interval': 1, 'interval': 1,
'maxBytes': 1024 * 1024 * 2, 'maxBytes': 1024 * 1024 * 2,
'backupCount': 10, 'backupCount': 30,
'formatter': 'standard', 'formatter': 'standard',
'encoding': 'utf-8', # 设置默认编码 'encoding': 'utf-8', # 设置默认编码
}, },