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

1.0: Document rotate_age and rotate_size in system config section #316

Merged
merged 1 commit into from
May 29, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions deployment/system-config.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,22 @@ Specifies the logging format e.g. `text` or `json`.

Specifies time format.

#### `rotate_age`

| type | default | version |
| :--- | :--- | :--- |
| enum or integer | 5 | 1.13.0 |

Specifies `daily`, `weekly`, `monthly` or integer which indicates age of log rotation.

#### `rotate_size`

| type | default | version |
| :--- | :--- | :--- |
| size | 1048576 | 1.13.0 |

Specifies log file size limitation.

### `Fluent::SystemConfig::Mixin` Methods

#### `.system_config`
Expand Down