Sample Header Ad - 728x90

MariaDB, where's the GLOBAL general_log file?

0 votes
1 answer
143 views
SHOW VARIABLES LIKE 'general_log%';
+------------------+------------------+
| Variable_name    | Value            |
+------------------+------------------+
| general_log      | ON               |
| general_log_file | ff3b5fbeb27b.log |
+------------------+------------------+
Where can I find this ff3b5fbeb27b.log file? The https://dev.mysql.com/doc/refman/8.4/en/query-log.html doc doesn't mention any path it should reside, and my search tell me it's under /var/log/mysql/, yet not for my case:
]> system ls -l /var/log/mysql/
total 0
FTA, my mysql is from the lastest docker image: mariadb:10.5:
$ mysql -V
mysql  Ver 15.1 Distrib 10.5.25-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2

$ uname -rm
6.8.0-1010-azure x86_64
Asked by xpt (143 rep)
Aug 12, 2024, 05:21 PM
Last activity: Aug 12, 2024, 09:20 PM