Rails logger options warn code example Example: rails logger stdout Rails.logger = Logger.new(STDOUT)