Logging all MariaDB and MySQL queries into the Slow Log - Vettabase
MySQL and MariaDB optionally log slow queries into the Slow Query Log – or just Slow Log, as friends call it. However, there are good reasons to log all the queries, not just some of them.
Vettabase