Skip to content

Commit 26bf2a7

Browse files
authored
Merge pull request #6 from xiangxiaoc/xiangxiaoc-patch-1
Update settings.py
2 parents a15b6c8 + 3143231 commit 26bf2a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

settings.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
"level": "INFO",
4141
"class": "logging.handlers.RotatingFileHandler", # 保存到文件,日志轮转
4242
"filename": f"{LOGDIR_BASE_PATH}/main.log",
43-
"maxBytes": 100 * 1024 * 1024, # 日志大小 10M
44-
"backupCount": 10, # 日志文件保存数量限制
43+
"maxBytes": 100 * 1024 * 1024, # 单个文件日志大小,单位:字节
44+
"backupCount": 10, # 日志文件数量限制
4545
"encoding": "utf-8",
4646
"formatter": "standard",
4747
},

0 commit comments

Comments
 (0)