Logging : Turn On
SQL > SET global general_log = 1;
Logging : Turn Off
SQL > SET global general_log = 0;
# tail -f /var/log/mariadb/queries.log
SQL > SET global general_log = 1;
SQL > SET global general_log = 0;
# tail -f /var/log/mariadb/queries.log