Finding MariaDB Log Location

One of the ways to find out your current log file path is using the following SQL query:

show global variables like 'log_error';

The output should look something like this:

Variable_name Value
log_error /var/log/mysqld.log

Last modified: November 06 2017 19:57:04