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: January 09 2018 16:35:05