Skip to content

Commit daab38f

Browse files
committed
执行器日志文件保存天数(logretentiondays)调整,最小保留时间调整至3天。
1 parent 36332fd commit daab38f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc/XXL-JOB官方文档.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2540,7 +2540,7 @@ public void execute() {
25402540
- 7、【优化】Glue IDE调整,版本回溯支持查看修改时间;
25412541
- 8、【优化】任务RollingLog调整,XSS过滤支持白名单排出,提升日志易读性;
25422542
- 9、【升级】多个项目依赖升级至较新稳定版本,涉及 gson、groovy、spring/springboot、mysql 等;
2543-
2543+
- 10、【优化】执行器日志文件保存天数(logretentiondays)调整,最小保留时间调整至3天。
25442544
25452545
25462546
### 7.39 版本 v3.0.2 Release Notes[规划中]

xxl-job-admin/src/main/java/com/xxl/job/admin/core/conf/XxlJobAdminConfig.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ public int getTriggerPoolSlowMax() {
124124
}
125125

126126
public int getLogretentiondays() {
127-
if (logretentiondays < 7) {
128-
return -1; // Limit greater than or equal to 7, otherwise close
127+
if (logretentiondays < 3) {
128+
return -1; // Limit greater than or equal to 3, otherwise close
129129
}
130130
return logretentiondays;
131131
}

0 commit comments

Comments
 (0)