adding logging to rake task