Skip to content

Commit

Permalink
Merge pull request #441 from percona/ps-9622
Browse files Browse the repository at this point in the history
PS-9622 [DOCS] - audit_log_rotate_on_size is incorrect
  • Loading branch information
patrickbirch authored Jan 6, 2025
2 parents 77fd55e + 38d2b19 commit 0d7e07d
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/audit-log-plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -811,14 +811,18 @@ are:
| -------------- | ------------------ |
| Command Line: | Yes |
| Scope: | Global |
| Dynamic: | No |
| Dynamic: | Yes |
| Data type | Numeric |
| Default value | 0 (don’t rotate the log file) |
| Default value | 0 |

This variable is measured in bytes and specifies the maximum size of the audit log file. Upon reaching
this size, the audit log will be rotated. The rotated log files are present in
the same directory as the current log file. The sequence number is appended to
the log file name upon rotation. For this variable to take effect, set the audit_log_handler variable to `FILE`.
the log file name upon rotation.

If the value is set to 0 (the default), the audit log files won’t rotate.

Set the `audit_log_handler` to FILE to enable this variable.

### `audit_log_rotations`

Expand Down

0 comments on commit 0d7e07d

Please sign in to comment.