Hi, We occasionally find that if tot_size is greater than 1024(sizeof(job_rec)),two lines will be merged into one line in the jobcomp txt log.So we add this in slurm_jobcomp_log_record (jobcomp_filetxt.c): snprintf(job_rec, sizeof(job_rec), JOB_FORMAT, xxx); tot_size = strlen(job_rec); ----add this---- if (tot_size == (sizeof(job_rec) - 1 )){ job_rec[sizeof(job_rec) - 2] = '\n'; }