Added logs to rake tasks