title: puts vs logger in rails rake tasks
body: <p>In a rake task if I use puts command then I see the output on console. However I will not see that message in log file when app is deployed on production.</p>
  
  <p>However if I say Rails.logger.info then in development mode I see nothing on console. I need to go to log file and tail that.</p>
  
  <p>I would ideally like to use Rails.logger.info and in development mode inside the rake task, the output from logger should also be sent to console.</p>
  
  <p>Is there a way to achieve that?</p>