kolla-ansible/ansible/roles/common/templates/heka-keepalived.toml.j2
Carlos Cesario 1e8abe3592 Make Heka write Keepalived logs to dedicated directory
Currently Heka writes the keepalived logs in
/var/log/kolla/haproxy/keepalived.log.
This commit changes this to /var/log/kolla/keepalived/keepalived.log.

Closes-Bug: #1565499
Change-Id: I3033097bd77ddbf72948697b34a6a499ea903083
2016-04-03 18:55:00 -03:00

10 lines
310 B
Django/Jinja

# Keepalived writes its logs to Syslog, so the generic
# Syslog input set in heka-global.toml.j2 is used.
[keepalived_file_output]
type = "FileOutput"
message_matcher = "Fields[programname] =~ /(?i:keepalived)/"
path = "/var/log/kolla/keepalived/keepalived.log"
encoder = "syslog_encoder"
folder_perm = "755"