Adds logging to rake tasks