adding logging statements to rake tasks.