Merge "CI: Fix get_logs.sh docker logs output"

This commit is contained in:
Zuul 2021-09-10 09:43:27 +00:00 committed by Gerrit Code Review
commit 65546beb0f
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ copy_logs() {
(docker info && docker images && docker ps -a) > ${LOG_DIR}/system_logs/docker-info.txt
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
# Bifrost: grab config files and logs from the container.