This page documents system variables related to the SQL_Error_Log Plugin. See Server System Variables for a complete list of system variables and instructions on setting them.
See also the Full list of MariaDB options, system and status variables.
sql_error_log_filename
sql_error_log_filename.001
. If no path is specified, the log file will be written to the data directory. --sql-error-log-filename=value
string
sql_errors.log
sql_error_log_rate
10
, for example, means that one in ten errors will be logged. If set to zero, logging is disabled. The default, 1
, logs every error. --sql-error-log-rate=#
string
1
sql_error_log_rotate
forces log rotation.
--sql-error-log-rate[={0|1}]
boolean
OFF
sql_error_log_rotations
--sql-error-log-rotations=#
numeric
9
1
to 999
sql_error_log_size_limit
--sql-error-log-size-limit=#
numeric
1000000
100
to 9223372036854775807
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/sql_error_log-plugin-system-variables/