My system is centos 7 with mariadb 5.5.60.
####LOG####
log_warnings=1
log-error=/var/log/mariadb-err.log
####slow log####
slow-query-log=1
long_query_time=5
slow-query-log-file=/var/log/mariadb-slow.log
That 's all about log
in my /etc/my.cnf
.
I found /var/log/mariadb/mariadb.log
in my server, but it's a empty file.
What's /var/log/mariadb/mariadb.log
?