Fix the handling of the job log.