Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
tool
/
xxl-job
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit daab38fc
authored
Apr 30, 2025
by
xuxueli
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
执行器日志文件保存天数(logretentiondays)调整,最小保留时间调整至3天。
1 parent
36332fd3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
doc/XXL-JOB官方文档.md
xxl-job-admin/src/main/java/com/xxl/job/admin/core/conf/XxlJobAdminConfig.java
doc/XXL-JOB官方文档.md
View file @
daab38f
...
...
@@ -2540,7 +2540,7 @@ public void execute() {
-
7、【优化】Glue IDE调整,版本回溯支持查看修改时间;
-
8、【优化】任务RollingLog调整,XSS过滤支持白名单排出,提升日志易读性;
-
9、【升级】多个项目依赖升级至较新稳定版本,涉及 gson、groovy、spring/springboot、mysql 等;
-
10、【优化】执行器日志文件保存天数(logretentiondays)调整,最小保留时间调整至3天。
### 7.39 版本 v3.0.2 Release Notes[规划中]
...
...
xxl-job-admin/src/main/java/com/xxl/job/admin/core/conf/XxlJobAdminConfig.java
View file @
daab38f
...
...
@@ -124,8 +124,8 @@ public class XxlJobAdminConfig implements InitializingBean, DisposableBean {
}
public
int
getLogretentiondays
()
{
if
(
logretentiondays
<
7
)
{
return
-
1
;
// Limit greater than or equal to
7
, otherwise close
if
(
logretentiondays
<
3
)
{
return
-
1
;
// Limit greater than or equal to
3
, otherwise close
}
return
logretentiondays
;
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment