Server System Variables • log_slow_admin_statements • log_slow_extra • log_syslog 822 In MySQL 8.0, the  log_sink_syseventlog  log component implements error logging to the system log (see Section 5.4.2.8, “Error Logging to the System Log” ), so this type of logging can be enabled by Prior to MySQL 8.0, this variable controlled whether to perform error logging to the system log (the Event Log on Windows, and  syslog  on Unix and Unix-like systems). If the slow query log is enabled and the output destination includes  FILE , the server writes additional fields to log file lines that provide information about slow statements. See Section 5.4.5, “The Slow Query Log” .  TABLE  output is unaffected. Include slow administrative statements in the statements written to the slow query log. Administrative statements include  ALTER TABLE ,  ANALYZE TABLE ,  CHECK TABLE ,  CREATE INDEX ,  DROP INDEX , OPTIMIZE TABLE , and  REPAIR TABLE . Command-Line Format --log-syslog[={OFF|ON}] Deprecated Yes (removed in 8.0.13) System Variable log_syslog Scope Global Dynamic Yes SET_VAR  Hint Applies No Type Boolean Default Value ON  (when error logging to system log is enabled) Command-Line Format --log-slow-extra[={OFF|ON}] Introduced 8.0.14 System Variable log_slow_extra Scope Global Dynamic Yes SET_VAR  Hint Applies No Type Boolean Default Value OFF Command-Line Format --log-slow-admin-statements[={OFF| ON}] System Variable log_slow_admin_statements Scope Global Dynamic Yes SET_VAR  Hint Applies No Type Boolean Default Value OFF