logentries for job. added #if DEBUG