MySQL Enterprise Audit Note Note Audit Log Status Variables This variable applies only to legacy mode audit log filtering (see Section 6.4.5.9, “Legacy Mode Audit Log Filtering” ). The policy controlling how the audit log plugin writes statement events to its log file. The following table shows the permitted values. At server startup, any explicit value given for  audit_log_statement_policy may be overridden if  audit_log_policy  is also specified, as described in Section 6.4.5.5, “Configuring Audit Logging Characteristics” . The logging method used by the audit log plugin. These strategy values are permitted: If the audit log plugin is enabled, it exposes several status variables that provide operational information. These variables are available for legacy mode audit filtering and JSON mode audit filtering. • SYNCHRONOUS : Log synchronously. Call  sync()  after each request. • SEMISYNCHRONOUS : Log synchronously. Permit caching by the operating system. • PERFORMANCE : Log asynchronously. Drop requests for which there is insufficient space in the output buffer. • ASYNCHRONOUS : Log asynchronously. Wait for space in the output buffer. • audit_log_strategy Value Description ALL Log all statement events ERRORS Log only failed statement events NONE Do not log statement events Command-Line Format --audit-log-strategy=value System Variable audit_log_strategy Scope Global Dynamic No SET_VAR  Hint Applies No Type Enumeration Default Value ASYNCHRONOUS Valid Values ASYNCHRONOUS PERFORMANCE SEMISYNCHRONOUS SYNCHRONOUS 1540