ruby on rails logging best practices code example Example: rails logger stdout Rails.logger = Logger.new(STDOUT)