Allow the audit log to be rotated when MySQL starts
General
Escalation
General
Escalation
Description
Environment
None
Smart Checklist
Activity
Show:

Oleksandr Kachan June 12, 2023 at 2:51 PM
This is implemented for the new audit plugin.
Log file will be rotated during server shutdown. If it fails to do so for some reason, there will be another attempt during server startup.

Lalit Choudhary July 31, 2019 at 9:41 AM
Hello Ceri,
Thank you for the FR.
Done
Details
Details
Assignee

Reporter

Time tracking
1h 30m logged
Fix versions
Priority
Smart Checklist
Open Smart Checklist
Smart Checklist

Open Smart Checklist
Created July 30, 2019 at 4:06 PM
Updated March 6, 2024 at 11:58 AM
Resolved June 12, 2023 at 2:51 PM
Whilst there are workarounds, e.g. used a format-specific extension for
audit_log_file
and make sure it matches if you changeaudit_log_format
, it would be nice if you could make sure that the log was rotated when the server starts, e.g.audit_log_rotate_onboot
.. you end up with mangled logs if you change format and forget to rotate manually, etc