Skip to content
Snippets Groups Projects
Commit dc9990e7 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Add general_log to mariadb container and make heka collect it"

parents ac228c37 86bafeee
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,6 @@ filename = "lua_decoders/os_mysql_log.lua" ...@@ -6,6 +6,6 @@ filename = "lua_decoders/os_mysql_log.lua"
type = "LogstreamerInput" type = "LogstreamerInput"
decoder = "mariadb_log_decoder" decoder = "mariadb_log_decoder"
log_directory = "/var/log/kolla" log_directory = "/var/log/kolla"
file_match = 'mariadb/mariadb\.log\.?(?P<Seq>\d*)$' file_match = 'mariadb/(mariadb|mariadb-error)\.log\.?(?P<Seq>\d*)$'
priority = ["^Seq"] priority = ["^Seq"]
differentiator = ['mariadb'] differentiator = ['mariadb']
...@@ -3,7 +3,9 @@ ...@@ -3,7 +3,9 @@
bind-address={{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} bind-address={{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
port={{ mariadb_port }} port={{ mariadb_port }}
log-error=/var/log/kolla/mariadb/mariadb.log log-error=/var/log/kolla/mariadb/mariadb-error.log
general_log=1
general_log_file=/var/log/kolla/mariadb/mariadb.log
binlog_format=ROW binlog_format=ROW
default-storage-engine=innodb default-storage-engine=innodb
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment