Added logging functionality to Job.