Documentation for audit_log_rotate_on_size is incorrect

Description

If you check the following page you will see that it is documented that the variable audit_log_rotate_on_size is non-dynamic, meaning that a restart of Percona Server is required for this change to occur.

However in my testing I have found that this is dynamic.

I started off with the audit log enabled and with audit_log_rotate_on_size set to 10 MB and a retention policy of 3 log files.

 

I then started a simple loop to generate some logs…

And then waited for some logs to be created.

I then changed the variable audit_log_rotate_on_size in runtime….

And then checked the filesystem and found that larger files were being created without having to restart mysql

Please update the documentation to show that this variable is dynamic. Thank you!

Environment

None

Activity

Show:
Done

Details

Assignee

Reporter

Needs QA

Yes

Components

Affects versions

Priority

Smart Checklist

Created January 2, 2025 at 12:57 PM
Updated January 6, 2025 at 12:04 PM
Resolved January 6, 2025 at 12:04 PM