content_image/667064.jpg content_image/667065.jpg
<img src='content_image/667064.jpg'>

## Audit Log Options and Variables 

This section describes the command options and system variables that configure operation of MySQL Enterprise Audit. If values specified at startup time are incorrect, the audit_log  plugin may fail to initialize properly and the server does not load it. In this case, the server may also produce error messages for other audit log settings because it does not recognize them. 

To configure activation of the audit log plugin, use this option: 

• --audit-log[= value ] 

<img src='content_image/667065.jpg'>

This option controls how the server loads the audit_log  plugin at startup. It is available only if the plugin has been previously registered with INSTALL PLUGIN  or is loaded with --plugin-load  or -- plugin-load-add . See Section 6.4.5.2, “Installing or Uninstalling MySQL Enterprise Audit” . 

The option value should be one of those available for plugin-loading options, as described in Section 5.6.1, “Installing and Uninstalling Plugins” . For example, --audit- log=FORCE_PLUS_PERMANENT  tells the server to load the plugin and prevent it from being removed while the server is running. 

If the audit log plugin is enabled, it exposes several system variables that permit control over logging: 

