lib/fastly/s3_logging.rb in fastly-1.6.0 vs lib/fastly/s3_logging.rb in fastly-1.6.1
- old
+ new
@@ -1,9 +1,9 @@
class Fastly
# An s3 endpoint to stream logs to
class S3Logging < BelongsToServiceAndVersion
- attr_accessor :service_id, :name, :bucket_name, :access_key, :secret_key, :path, :period, :gzip_level, :format, :response_condition, :timestamp_format, :domain, :redundancy
+ attr_accessor :service_id, :name, :bucket_name, :access_key, :secret_key, :path, :period, :gzip_level, :format, :format_version, :response_condition, :timestamp_format, :domain, :redundancy
##
# :attr: service_id
#
# The id of the service this belongs to.
@@ -51,9 +51,16 @@
##
# :attr: format
#
# Apache style log formatting
+
+ ##
+ # :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
#
# When to execute the s3 logging. If empty, always execute.