diff options
| author | chrislu <chris.lu@gmail.com> | 2025-11-05 15:59:59 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-11-05 15:59:59 -0800 |
| commit | c125060b51c81205ebe5df23e2c24ae7831082d6 (patch) | |
| tree | e5375f3d23010a23046d946dfe5c4cf95e35e19f /weed/s3api/s3api_bucket_handlers.go | |
| parent | 3e440d2145bcd4070016454d93507aad08718240 (diff) | |
| download | seaweedfs-c125060b51c81205ebe5df23e2c24ae7831082d6.tar.xz seaweedfs-c125060b51c81205ebe5df23e2c24ae7831082d6.zip | |
more logging
Diffstat (limited to 'weed/s3api/s3api_bucket_handlers.go')
| -rw-r--r-- | weed/s3api/s3api_bucket_handlers.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/weed/s3api/s3api_bucket_handlers.go b/weed/s3api/s3api_bucket_handlers.go index 4a6b88002..9509219d9 100644 --- a/weed/s3api/s3api_bucket_handlers.go +++ b/weed/s3api/s3api_bucket_handlers.go @@ -808,8 +808,11 @@ func (s3a *S3ApiServer) PutBucketLifecycleConfigurationHandler(w http.ResponseWr return } ttlSec := int32((time.Duration(rule.Expiration.Days) * util.LifeCycleInterval).Seconds()) + glog.V(2).Infof("Start updating TTL for %s", locationPrefix) if updErr := s3a.updateEntriesTTL(locationPrefix, ttlSec); updErr != nil { - glog.Errorf("PutBucketLifecycleConfigurationHandler update: %s", updErr) + glog.Errorf("PutBucketLifecycleConfigurationHandler update TTL for %s: %s", locationPrefix, updErr) + } else { + glog.V(2).Infof("Finished updating TTL for %s", locationPrefix) } changed = true } |
