Hi,
In one of our MySQL server (8.0.33), all of a sudden audit log stopped working.
Here are the settings
mysql> show global variables like ‘audit%’;
±----------------------------±-----------------------------------------------------------------------------------------------------------+
| Variable_name | Value |
±----------------------------±-----------------------------------------------------------------------------------------------------------+
| audit_log_buffer_size | 1048576 |
| audit_log_exclude_accounts | audit_user@localhost,audit_user@%,dbmonitor@%,SWAdmin@%,dpa@%,pmmuser@localhost |
| audit_log_exclude_commands | select,insert,insert_select,delete,delete_multi,update,update_multi,prepare_sql,execute_sql,call_procedure |
| audit_log_exclude_databases | |
| audit_log_file | /mysql-audit/audit.log |
| audit_log_flush | OFF |
| audit_log_format | JSON |
| audit_log_handler | FILE |
| audit_log_include_accounts | |
| audit_log_include_commands | |
| audit_log_include_databases | |
| audit_log_policy | ALL |
| audit_log_rotate_on_size | 0 |
| audit_log_rotations | 0 |
| audit_log_strategy | ASYNCHRONOUS |
| audit_log_syslog_facility | LOG_USER |
| audit_log_syslog_ident | percona-audit |
| audit_log_syslog_priority | LOG_INFO |
±----------------------------±-----------------------------------------------------------------------------------------------------------+
18 rows in set (0.00 sec)
mysql>