Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix log files take up a lot of space #142

Merged
merged 1 commit into from
Jan 8, 2025

Conversation

wangrong1069
Copy link
Contributor

Previously, the anything would keep log files generated in the last 30 days. If a large number of logs were generated in a short period of time, it would take up a lot of space. Let's modify it to only keep the 10 most recent log files.

Log: Fix log files take up a lot of space.

Previously, the anything would keep log files generated in the last 30
days. If a large number of logs were generated in a short period of
time, it would take up a lot of space. Let's modify it to only keep the
10 most recent log files.

Log: Fix log files take up a lot of space.
@deepin-ci-robot
Copy link

deepin pr auto review

关键摘要:

  • 日志级别从警告降低到调试,可能影响错误追踪
  • 日志文件删除逻辑从按天数改为按文件数量,需要确认是否符合预期
  • 定时器间隔从10分钟改为3分钟,需要评估是否合理

是否建议立即修改:

Copy link

github-actions bot commented Jan 8, 2025

TAG Bot

TAG: 6.2.2
EXISTED: no
DISTRIBUTION: unstable

Copy link
Contributor

@re2zero re2zero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good.

@deepin-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: re2zero, wangrong1069

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@wangrong1069
Copy link
Contributor Author

/forcemerge

@deepin-bot
Copy link
Contributor

deepin-bot bot commented Jan 8, 2025

This pr force merged! (status: unstable)

@deepin-bot deepin-bot bot merged commit f4d44c6 into linuxdeepin:master Jan 8, 2025
18 of 19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants