using Rails.logger rather than logger