Merge pull request #108057 from bobbypage/log-dump

log grabbing: obtain timestamps on extra services
This commit is contained in:
Kubernetes Prow Robot
2022-02-16 03:12:36 -08:00
committed by GitHub

View File

@@ -199,7 +199,7 @@ function save-logs() {
log-dump-ssh "${node_name}" "sudo journalctl --output=short-precise -k" > "${dir}/kern.log" || true
for svc in "${services[@]}"; do
log-dump-ssh "${node_name}" "sudo journalctl --output=cat -u ${svc}.service" > "${dir}/${svc}.log" || true
log-dump-ssh "${node_name}" "sudo journalctl --output=short-precise -u ${svc}.service" > "${dir}/${svc}.log" || true
done
if [[ "$dump_systemd_journal" == "true" ]]; then