diff --git a/ansible/roles/common/templates/heka-mariadb.toml.j2 b/ansible/roles/common/templates/heka-mariadb.toml.j2 index 04abd33b44..07d7105410 100644 --- a/ansible/roles/common/templates/heka-mariadb.toml.j2 +++ b/ansible/roles/common/templates/heka-mariadb.toml.j2 @@ -6,6 +6,6 @@ filename = "lua_decoders/os_mysql_log.lua" type = "LogstreamerInput" decoder = "mariadb_log_decoder" log_directory = "/var/log/kolla" -file_match = 'mariadb/(mariadb|mariadb-error)\.log\.?(?P\d*)$' +file_match = 'mariadb/mariadb\.log\.?(?P\d*)$' priority = ["^Seq"] differentiator = ['mariadb'] diff --git a/ansible/roles/mariadb/templates/galera.cnf.j2 b/ansible/roles/mariadb/templates/galera.cnf.j2 index 51359cb4e2..7c426dbf89 100644 --- a/ansible/roles/mariadb/templates/galera.cnf.j2 +++ b/ansible/roles/mariadb/templates/galera.cnf.j2 @@ -3,9 +3,7 @@ bind-address={{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} port={{ mariadb_port }} -log-error=/var/log/kolla/mariadb/mariadb-error.log -general_log=1 -general_log_file=/var/log/kolla/mariadb/mariadb.log +log-error=/var/log/kolla/mariadb/mariadb.log binlog_format=ROW default-storage-engine=innodb