Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

[log-manager] reconfigure log-manager #4702

Merged
merged 1 commit into from
Jul 14, 2020
Merged

Conversation

Binyang2014
Copy link
Contributor

  1. Change log-manager QoS class to Burstable
  2. Auto rotate the log file which size more than 300M
  3. The rotated log will keep no more than 30 days

@Binyang2014 Binyang2014 requested a review from abuccts July 13, 2020 03:27
@Binyang2014 Binyang2014 linked an issue Jul 13, 2020 that may be closed by this pull request
@coveralls
Copy link

coveralls commented Jul 13, 2020

Coverage Status

Coverage remained the same at 34.607% when pulling d33949f on binyli/log-manager-master into 02c0ed0 on master.

nomail
olddir /usr/local/pai/logs-backup
weekly
Copy link
Member

Choose a reason for hiding this comment

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

what is "weekly" for?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Weekly means log file will be rotated weekly. So if there is a log file which exist more than one week, it will be rotated

@Binyang2014 Binyang2014 merged commit 668a392 into master Jul 14, 2020
@Binyang2014 Binyang2014 deleted the binyli/log-manager-master branch July 14, 2020 03:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

User job write too much logs will cause disk pressure
3 participants