Skip to content

Commit

Permalink
Add max-days and max-backups default value 0 means for PD (#9330) (
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot committed Aug 10, 2022
1 parent bfb6aaa commit 410bc3e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pd-configuration-file.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,13 @@ Configuration items related to the log file
### `max-days`

+ The maximum number of days in which a log is kept
+ If the configuration item is not set, or the value of it is set to the default value 0, PD does not clean log files.
+ Default value: `0`

### `max-backups`

+ The maximum number of log files to keep
+ If the configuration item is not set, or the value of it is set to the default value 0, PD keeps all log files.
+ Default value: `0`

## `metric`
Expand Down

0 comments on commit 410bc3e

Please sign in to comment.