added logger statement to rake task