client: add exit status and result name to job log entries

This commit is contained in:
David Anderson 2013-07-14 13:19:22 -07:00
parent 3bcf2a3530
commit 8949c04a77
1 changed files with 4 additions and 2 deletions

View File

@ -468,9 +468,11 @@ void RESULT::append_log_record() {
job_log_filename(*project, filename, sizeof(filename));
FILE* f = fopen(filename, "ab");
if (!f) return;
fprintf(f, "%.0f ue %f ct %f fe %.0f nm %s et %f\n",
fprintf(f, "%.0f ue %f ct %f fe %.0f nm %s et %f es %d name %s\n",
gstate.now, estimated_runtime_uncorrected(), final_cpu_time,
wup->rsc_fpops_est, name, final_elapsed_time
wup->rsc_fpops_est, name, final_elapsed_time,
exit_status,
name
);
fclose(f);
}