Adds logging to job