lib/fastly/syslog.rb in fastly-1.00 vs lib/fastly/syslog.rb in fastly-1.01
- old
+ new
@@ -1,9 +1,9 @@
class Fastly
# An endpoint to stream syslogs to
class Syslog < BelongsToServiceAndVersion
- attr_accessor :service_id, :name, :comment, :ipv4, :ipv6, :hostname, :port, :format
+ attr_accessor :service_id, :name, :comment, :ipv4, :ipv6, :hostname, :port, :format, :response_conditions
##
# :attr: service_id
#
# The id of the service this belongs to.
@@ -59,7 +59,12 @@
##
# :attr: format
#
# Format to log like in apache format
+
+ ##
+ # :attr: response_condition
+ #
+ # name of a response_condition to filter the log on, if empty it always logs
end
end
\ No newline at end of file