CI: Add timestamps to Docker container logs
Change-Id: Ie5111b898da980d63e9d90003f823172e7a78bc2
This commit is contained in:
parent
13dea3f931
commit
d597cece85
@ -109,7 +109,7 @@ copy_logs() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
for container in $(docker ps -a --format "{{.Names}}"); do
|
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
|
done
|
||||||
|
|
||||||
# Rename files to .txt; this is so that when displayed via
|
# Rename files to .txt; this is so that when displayed via
|
||||||
|
Loading…
Reference in New Issue
Block a user