add log in rake task