Skip to content

Commit 0d7e07d

Browse files
authored
Merge pull request #441 from percona/ps-9622
PS-9622 [DOCS] - audit_log_rotate_on_size is incorrect
2 parents 77fd55e + 38d2b19 commit 0d7e07d

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

docs/audit-log-plugin.md

+7-3
Original file line numberDiff line numberDiff line change
@@ -811,14 +811,18 @@ are:
811811
| -------------- | ------------------ |
812812
| Command Line: | Yes |
813813
| Scope: | Global |
814-
| Dynamic: | No |
814+
| Dynamic: | Yes |
815815
| Data type | Numeric |
816-
| Default value | 0 (don’t rotate the log file) |
816+
| Default value | 0 |
817817

818818
This variable is measured in bytes and specifies the maximum size of the audit log file. Upon reaching
819819
this size, the audit log will be rotated. The rotated log files are present in
820820
the same directory as the current log file. The sequence number is appended to
821-
the log file name upon rotation. For this variable to take effect, set the audit_log_handler variable to `FILE`.
821+
the log file name upon rotation.
822+
823+
If the value is set to 0 (the default), the audit log files won’t rotate.
824+
825+
Set the `audit_log_handler` to FILE to enable this variable.
822826

823827
### `audit_log_rotations`
824828

0 commit comments

Comments
 (0)