Try using Rails.logger