diff options
| author | Jeffrey Zhang <jeffrey.zhang@99cloud.net> | 2016-03-04 23:49:01 +0800 |
|---|---|---|
| committer | Jeffrey Zhang <jeffrey.zhang@99cloud.net> | 2016-03-09 09:34:59 +0800 |
| commit | 12d6eeceb5dc1021d66aa89930606cc9bc04e79f (patch) | |
| tree | 3b51b1be022873781390b10f368b83b67cd704ed /ansible | |
| parent | ebc1bbb08132f1cc638ea3c18773ce95fbe421c4 (diff) | |
| download | kolla-12d6eeceb5dc1021d66aa89930606cc9bc04e79f.tar.gz kolla-12d6eeceb5dc1021d66aa89930606cc9bc04e79f.zip | |
Copy the logs out of the container
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
Diffstat (limited to 'ansible')
| -rw-r--r-- | ansible/roles/common/templates/heka-haproxy.toml.j2 | 2 | ||||
| -rw-r--r-- | ansible/roles/common/templates/heka-swift.toml.j2 | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ansible/roles/common/templates/heka-haproxy.toml.j2 b/ansible/roles/common/templates/heka-haproxy.toml.j2 index d933a6f55..3292ee554 100644 --- a/ansible/roles/common/templates/heka-haproxy.toml.j2 +++ b/ansible/roles/common/templates/heka-haproxy.toml.j2 @@ -6,9 +6,11 @@ type = "FileOutput" message_matcher = "Type == 'Syslog' && Fields[programname] =~ /(?i:haproxy)/" path = "/var/log/kolla/haproxy/haproxy.log" encoder = "syslog_encoder" +folder_perm = "755" [keepalived_file_output] type = "FileOutput" message_matcher = "Type == 'Syslog' && Fields[programname] =~ /(?i:keepalived)/" path = "/var/log/kolla/haproxy/keepalived.log" encoder = "syslog_encoder" +folder_perm = "755" diff --git a/ansible/roles/common/templates/heka-swift.toml.j2 b/ansible/roles/common/templates/heka-swift.toml.j2 index 3bb520e32..96df3041d 100644 --- a/ansible/roles/common/templates/heka-swift.toml.j2 +++ b/ansible/roles/common/templates/heka-swift.toml.j2 @@ -6,3 +6,4 @@ type = "FileOutput" message_matcher = "Type == 'Syslog' && Fields[programname] == '{{ item }}'" path = "/var/log/kolla/swift/{{ item }}.log" encoder = "syslog_encoder" +folder_perm = "755" |
