Skip to content

Commit

Permalink
Add max-days and max-backups default value 0 means for PD configu…
Browse files Browse the repository at this point in the history
…ration guide
  • Loading branch information
yahonda committed Jun 24, 2022
1 parent 6e76462 commit ebbbd67
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 @@ -158,11 +158,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 ebbbd67

Please sign in to comment.