Skip to content

Commit

Permalink
docs: clarify log_rotate_max_files
Browse files Browse the repository at this point in the history
  • Loading branch information
catstrom authored Feb 19, 2021
1 parent c0c9dd0 commit a4d99a8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions website/content/docs/configuration/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -254,8 +254,11 @@ testing.
log should be written to before it needs to be rotated. Must be a duration
value such as 30s.

- `log_rotate_max_files` `(int: 0)` - Specifies the maximum number of older log
file archives to keep. If 0 no files are ever deleted.
- `log_rotate_max_files` `(int: 0)` - Specifies the maximum number of older
log file archives to keep, not including the log file currently being
written. If set to 0 no files are ever deleted. Note that the total number
of log files, for each of `stderr` and `stdout`, will be 1 greater than the
`log_rotate_max_files` value.

- `name` `(string: [hostname])` - Specifies the name of the local node. This
value is used to identify individual agents. When specified on a server, the
Expand Down

0 comments on commit a4d99a8

Please sign in to comment.