diff options
| author | Eduardo Gonzalez <dabarren@gmail.com> | 2017-09-12 22:59:55 +0200 |
|---|---|---|
| committer | Eduardo Gonzalez <dabarren@gmail.com> | 2017-09-12 23:03:25 +0200 |
| commit | fee1538c3883ad9ee2a19f835cd73b6d75ad7797 (patch) | |
| tree | fcd658cc881c52f1de892612dc0aaab5763a8463 /tests/get_logs.sh | |
| parent | 26c8137caced512701cc874b96eb382d318011c1 (diff) | |
| download | kolla-ansible-fee1538c3883ad9ee2a19f835cd73b6d75ad7797.tar.gz kolla-ansible-fee1538c3883ad9ee2a19f835cd73b6d75ad7797.zip | |
Retrieve fluentd logs in gates
Fluentd send logs to stdout,
this changes creates a file with fluentd logs
output to easy discover missing patterns during fluentd
changes.
Change-Id: I131f95089eac60ccb4c48cf5071c3b44c5ea42ca
Diffstat (limited to 'tests/get_logs.sh')
| -rw-r--r-- | tests/get_logs.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/get_logs.sh b/tests/get_logs.sh index 25c2ed431..06f082b36 100644 --- a/tests/get_logs.sh +++ b/tests/get_logs.sh @@ -45,6 +45,10 @@ copy_logs() { docker exec ceph_mon ceph osd tree > ${LOG_DIR}/kolla/ceph/ceph_osd_tree.txt fi + # container logs + mkdir ${LOG_DIR}/kolla/fluentd/ + docker logs fluentd > ${LOG_DIR}/kolla/fluentd/fluentd.txt + # Rename files to .txt; this is so that when displayed via # logs.openstack.org clicking results in the browser shows the # files, rather than trying to send it to another app or make you |
