Merge "CI: Add timestamps to Docker container logs"

This commit is contained in:
Zuul 2020-01-24 13:38:44 +00:00 committed by Gerrit Code Review
commit bd6157cf42
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,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 --timestamps --tail all ${container} &> ${LOG_DIR}/docker_logs/${container}.txt
done
# Rename files to .txt; this is so that when displayed via