diff options
| author | Michal Nasiadka <mnasiadka@gmail.com> | 2020-01-24 09:58:25 +0100 |
|---|---|---|
| committer | Michal Nasiadka <mnasiadka@gmail.com> | 2020-01-24 09:59:01 +0100 |
| commit | d597cece850015ed6a0813856c00038625174906 (patch) | |
| tree | fce0a45ab70361ea374c556e544aa54600034145 /tests/get_logs.sh | |
| parent | 13dea3f9314551cd49533a508dd9993735234758 (diff) | |
| download | kolla-ansible-d597cece850015ed6a0813856c00038625174906.tar.gz kolla-ansible-d597cece850015ed6a0813856c00038625174906.zip | |
CI: Add timestamps to Docker container logs
Change-Id: Ie5111b898da980d63e9d90003f823172e7a78bc2
Diffstat (limited to 'tests/get_logs.sh')
| -rw-r--r-- | tests/get_logs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/get_logs.sh b/tests/get_logs.sh index fcba0c502..5353877d5 100644 --- a/tests/get_logs.sh +++ b/tests/get_logs.sh @@ -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 |
