diff --git a/tests/get_logs.sh b/tests/get_logs.sh index 5c0a7bc49b..0947846046 100644 --- a/tests/get_logs.sh +++ b/tests/get_logs.sh @@ -57,7 +57,7 @@ copy_logs() { fi for container in $(docker ps -a --format "{{.Names}}"); do - docker logs --tail all ${container} > ${LOG_DIR}/docker_logs/${container}.txt + docker logs --tail all ${container} &> ${LOG_DIR}/docker_logs/${container}.txt done # Rename files to .txt; this is so that when displayed via diff --git a/tests/post.yml b/tests/post.yml index d84eeea3ef..ccfefccf18 100644 --- a/tests/post.yml +++ b/tests/post.yml @@ -34,6 +34,8 @@ src: "/tmp/logs" dest: "{{ zuul.executor.log_root }}/{{inventory_hostname }}/" mode: pull + rsync_opts: + - "--quiet" - hosts: primary tasks: