Merge "CI: Add timestamps to Docker container logs"
This commit is contained in:
commit
bd6157cf42
@ -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