
Heka logs almost done. When testing, The collected logs can copy to the /tmp/logs folder, which will be handle by the gate. This will be very useful for our gate debug. TrivialFix Change-Id: I06ca8ebd13933bfd15cb2fb5e53fc3038b17b8c3
10 lines
315 B
Django/Jinja
10 lines
315 B
Django/Jinja
# Swift writes its logs to Syslog, so the generic Syslog input set in
|
|
# heka-global.toml.j2 is used.
|
|
|
|
[{{ item }}_file_output]
|
|
type = "FileOutput"
|
|
message_matcher = "Type == 'Syslog' && Fields[programname] == '{{ item }}'"
|
|
path = "/var/log/kolla/swift/{{ item }}.log"
|
|
encoder = "syslog_encoder"
|
|
folder_perm = "755"
|