s3gw-tech / s3gw

Container able to run on a Kubernetes cluster, providing S3-compatible endpoints to applications.
https://s3gw.tech
Apache License 2.0
145 stars 21 forks source link

Silence logs: swift_versioning_copy, bucket::check_quota #825

Open irq0 opened 1 year ago

irq0 commented 1 year ago
│ 2023-11-21T14:35:46.999+0000 7fc6f0642700  1 beast: 0x7fc7d26c5770: 10.42.1.5 - restic [21/Nov/2023:14:35:46.999 +0000] "HEAD /restic/ HTTP/1.1" 200 0 - "MinIO (linux; a │
│ 2023-11-21T14:35:46.999+0000 7fc6eb638700  1 beast: 0x7fc7d26c5770: 10.42.1.5 - restic [21/Nov/2023:14:35:46.999 +0000] "HEAD /restic/config HTTP/1.1" 404 0 - "MinIO (li │
│ 2023-11-21T14:35:49.495+0000 7fc70466a700  0 req 0 0.000000000s s3:put_obj > bucket::check_quota check_quota: not implemented, return okay.                               │
│ 2023-11-21T14:35:49.495+0000 7fc70466a700  0 req 0 0.000000000s s3:put_obj > object::swift_versioning_copy swift_versioning_copy: do nothing.                             │
│ 2023-11-21T14:35:49.495+0000 7fc70466a700  0 req 0 0.000000000s s3:put_obj > bucket::check_quota check_quota: not implemented, return okay.                               │
│ 2023-11-21T14:35:49.523+0000 7fc70466a700  1 beast: 0x7fc7d26c5770: 10.42.1.5 - restic [21/Nov/2023:14:35:49.495 +0000] "PUT /restic/keys/ace8150e4ace34bf841e6d178ef2e77 │
│ 2023-11-21T14:35:49.523+0000 7fc6e7e31700  0 req 0 0.000000000s s3:put_obj > bucket::check_quota check_quota: not implemented, return okay.                               │
│ 2023-11-21T14:35:49.523+0000 7fc6e7e31700  0 req 0 0.000000000s s3:put_obj > object::swift_versioning_copy swift_versioning_copy: do nothing.                             │
│ 2023-11-21T14:35:49.523+0000 7fc6e7e31700  0 req 0 0.000000000s s3:put_obj > bucket::check_quota check_quota: not implemented, return okay.

We log two noop operations with level 0 cluttering the log that otherwise only contains requests