0

我有一组启用了日志记录的存储桶,它们将所有日志发送到一个存储桶。如果我删除日志存储桶,我是否必须去禁用所有存储桶的日志记录?如果我不这样做或者足够聪明地意识到日志存储桶已经消失并悄悄地失败,事情会在以后出错吗?

4

1 回答 1

2

It's not really a question of whether boto is smart enough or not. Once the logging is configured via boto (or any other client) it's really up to the S3 service to handle it. I think it would be good practice to remove the logging configuration from the buckets if logging bucket has been deleted but even if you don't, S3 will simply not write the logs.

于 2013-05-16T00:44:25.280 回答