added logging statement to rake task