diff --git a/lib/functions/host/docker.sh b/lib/functions/host/docker.sh index 5be96e63a..4d3927099 100755 --- a/lib/functions/host/docker.sh +++ b/lib/functions/host/docker.sh @@ -281,8 +281,8 @@ function docker_cli_build_dockerfile() { run_host_command_logged mkdir -p "${docker_marker_dir}" - # Find files under "${SRC}"/cache/docker that are older than 12 hours. - EXPIRED_MARKER="$(find "${docker_marker_dir}" -type f -mtime +12h -exec echo -n {} \;)" + # Find files under "${SRC}"/cache/docker that are older than a full 24-hour period. + EXPIRED_MARKER="$(find "${docker_marker_dir}" -type f -mtime +1 -exec echo -n {} \;)" display_alert "Expired marker?" "${EXPIRED_MARKER}" "debug" if [[ "x${EXPIRED_MARKER}x" != "xx" ]]; then diff --git a/lib/functions/logging/runners.sh b/lib/functions/logging/runners.sh index f84c45985..4822345a4 100644 --- a/lib/functions/logging/runners.sh +++ b/lib/functions/logging/runners.sh @@ -196,7 +196,7 @@ function run_host_command_logged_raw() { echo -e "${bright_red_color:-}-->--> command failed with error code ${exit_code} after $((SECONDS - seconds_start)) seconds${normal_color:-}" >> "${CURRENT_LOGFILE}" fi - # @TODO: send these _ONLY_ to logfile. there's enough on screen already... + # send these _ONLY_ to logfile. there's enough on screen already... display_alert_skip_screen=1 display_alert "stacktrace for failed command" "exit code ${exit_code}:$*\n$(stack_color="${magenta_color:-}" show_caller_full)" "wrn" # Obtain extra info about error, eg, log files produced, extra messages set by caller, etc.