Percona Audit log variable audit_log_flush not working.
set global audit_log_flush=1;
I want to rotate logs manually but it did not do anything ?
Percona Audit log variable audit_log_flush not working.
set global audit_log_flush=1;
I want to rotate logs manually but it did not do anything ?
Hi, the parameter will close the log file and then reopen it, so the way to do it is:
Move the existing file e.g.
mv audit.log audit.log.2020103
Flush
set global audit_log_flush=1;
This will cause a new file to be created.
@Ivan_Groenewold I have done the same It works.
Thank you for your Response.
glad to hear! let us know if you need further help
Unanswered | Unsolved | Solved
MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright © 2006 - 2024 Percona LLC. All rights reserved.