Skip to content

Rate this page
Thanks for your feedback
Thank you! The feedback has been submitted.

For help, click the link below to get free database assistance or contact our experts for personalized support.

Disable Audit Log Filter logging

The audit_log_filter.disable system variable lets you disable or enable logging for all connections based on the value:

Value Actions
audit_log_filter.disable = true Disables logging.
audit_log_filter.disable = false Enables logging.

You can set the variable in the following ways:

  • Specify in the option file.

  • Include in the command-line startup string.

  • Use a SET statement during runtime.

mysql> SET GLOBAL audit_log_filter.disable = true;

Privileges required

Setting the value of audit_log_filter.disable at runtime requires the following:

  • AUDIT_ADMIN privilege
  • SYSTEM_VARIABLES_ADMIN privilege