Merge "Add general_log to mariadb container and make heka collect it"
This commit is contained in:
commit
dc9990e744
@ -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\.log\.?(?P<Seq>\d*)$'
|
||||
file_match = 'mariadb/(mariadb|mariadb-error)\.log\.?(?P<Seq>\d*)$'
|
||||
priority = ["^Seq"]
|
||||
differentiator = ['mariadb']
|
||||
|
@ -3,7 +3,9 @@
|
||||
bind-address={{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
|
||||
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
|
||||
default-storage-engine=innodb
|
||||
|
Loading…
Reference in New Issue
Block a user