This looks like it logs the job id and not the pid - or did you mean something else?