Skip to content

Commit b8fe224

Browse files
committed
Getting docker logs always to debug issue 8399
1 parent 1054eb4 commit b8fe224

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)