General Query Log
Complete General Query Log guide for MariaDB. Complete reference documentation for implementation, configuration, and usage with comprehensive examples.
Enabling the General Query Log
SET GLOBAL general_log=1;[mariadb]
...
general_logConfiguring the General Query Log Filename
SET GLOBAL general_log_file='mariadb.log';[mariadb]
...
general_log
general_log_file=mariadb.logChoosing the General Query Log Output Destination
Writing the General Query Log to a File
Writing the General Query Log to a Table
Disabling the General Query Log for a Session
Disabling the General Query Log for Specific Statements
Rotating the General Query Log on Unix and Linux
See Also
Last updated
Was this helpful?

