We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a15b6c8 + 3143231 commit 26bf2a7Copy full SHA for 26bf2a7
settings.py
@@ -40,8 +40,8 @@
40
"level": "INFO",
41
"class": "logging.handlers.RotatingFileHandler", # 保存到文件,日志轮转
42
"filename": f"{LOGDIR_BASE_PATH}/main.log",
43
- "maxBytes": 100 * 1024 * 1024, # 日志大小 10M
44
- "backupCount": 10, # 日志文件保存数量限制
+ "maxBytes": 100 * 1024 * 1024, # 单个文件日志大小,单位:字节
+ "backupCount": 10, # 日志文件数量限制
45
"encoding": "utf-8",
46
"formatter": "standard",
47
},
0 commit comments