Activate full log MariaDB/Mysql
Set the log filename
db001 [(none)]> SET GLOBAL general_log_file = '/var/log/mysql/full.log';
activate full log
db001 [(none)]> SET GLOBAL general_log = 'ON';
deactivate full log
db001 [(none)]> SET GLOBAL general_log = 'OFF';