Swift busted with Heka

Swift and heka were broken by an optimization that resulted in
a regression in commit:
0a1486a2c7

This patch fixes that problem.

Change-Id: I02c6cf4de4f807c3ec66e2d4f59f182d0b864ea3
Closes-Bug: #1560788
This commit is contained in:
Steven Dake 2016-03-23 02:08:29 -04:00
parent 87796b0f0c
commit 8307b06a46

View File

@ -1,9 +1,9 @@
# Swift writes its logs to Syslog, so the generic Syslog input set in
# heka-global.toml.j2 is used.
[{{ item }}_file_output]
[{{ item.name }}_file_output]
type = "FileOutput"
message_matcher = "Fields[programname] == '{{ item }}'"
path = "/var/log/kolla/swift/{{ item }}.log"
message_matcher = "Fields[programname] == '{{ item.name }}'"
path = "/var/log/kolla/swift/{{ item.name }}.log"
encoder = "syslog_encoder"
folder_perm = "755"