Skip to content

Commit 28e2e75

Browse files
author
OpenShift Bot
committed
Merge pull request #8401 from soltysh/docker_logs
Merged by openshift-bot
2 parents e843202 + b8fe224 commit 28e2e75

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

hack/util.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -570,10 +570,12 @@ function cleanup_openshift {
570570
set -u
571571
fi
572572

573-
if grep -q 'no Docker socket found' "${LOG_DIR}/openshift.log"; then
573+
# TODO soltysh: restore the if back once #8399 is resolved
574+
# if grep -q 'no Docker socket found' "${LOG_DIR}/openshift.log"; then
574575
# the Docker daemon crashed, we need the logs
575-
journalctl --unit docker.service --since -4hours > "${LOG_DIR}/docker.log"
576-
fi
576+
# journalctl --unit docker.service --since -4hours > "${LOG_DIR}/docker.log"
577+
# fi
578+
journalctl --unit docker.service --since -15minutes > "${LOG_DIR}/docker.log"
577579

578580
delete_empty_logs
579581
truncate_large_logs

0 commit comments

Comments
 (0)