Using Rails.logger for logging