Adding logging to jobs