laurilehmijoki / s3_website

Manage an S3 website: sync, deliver via CloudFront, benefit from advanced S3 website features.
Other
2.24k stars 186 forks source link

cloudfront logging? #164

Closed joelburget closed 9 years ago

joelburget commented 9 years ago

I'd like to log my cloudfront stats. To do so I need to specify an S3 bucket to log to. Perhaps we can add such an option?

pathawks commented 9 years ago

Wouldn’t it be easier to just do this through the AWS console? It’s not something that’s likely to change often.

joelburget commented 9 years ago

My understanding was that the configuration would be overwritten next time I deploy. This stuff is all written by s3_website, right (in Particular, "Log Bucket")?

screenshot 2015-06-03 11 55 32

laurilehmijoki commented 9 years ago

Hello. s3_website push does not modify the CloudFront settings. Only s3_website cfg apply does.

joelburget commented 9 years ago

Ah, I see. That fixes my problem!