Adds logging to the step