lib/fastly/syslog.rb in fastly-1.6.0 vs lib/fastly/syslog.rb in fastly-1.6.1
- 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, :token, :format, :response_conditions, :use_tls, :tls_hostname, :tls_ca_cert
+ attr_accessor :service_id, :name, :comment, :ipv4, :ipv6, :hostname, :port, :token, :format, :format_version, :response_conditions, :use_tls, :tls_hostname, :tls_ca_cert
##
# :attr: service_id
#
# The id of the service this belongs to.
@@ -60,9 +60,16 @@
##
# :attr: format
#
# Format to log like in apache format
+
+ ##
+ # :attr: format_version
+ #
+ # The version of the custom logging format used for the configured endpoint.
+ # Can be either 1 (the default, version 1 log format) or 2 (the version 2
+ # log format).
##
# :attr: response_condition
#
# name of a response_condition to filter the log on, if empty it always logs