]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: log bucket name to req done line 57635/head
authorSeena Fallah <seenafallah@gmail.com>
Wed, 26 Jun 2024 19:39:02 +0000 (21:39 +0200)
committerSeena Fallah <seenafallah@gmail.com>
Wed, 26 Jun 2024 19:49:57 +0000 (21:49 +0200)
This can help to identify the target bucket name if the bucket was
resolved by host header.

Signed-off-by: Seena Fallah <seenafallah@gmail.com>
src/rgw/rgw_process.cc

index 4a598f8f05937bfc757b864564f47db983b0728f..6c2c656910059b4358d675f08a2b0df4720c3567 100644 (file)
@@ -465,6 +465,7 @@ done:
   }
   dout(1) << "====== req done req=" << hex << req << dec
           << " op=" << (op ? op->name() : "unknown")
+          << " bucket=" << s->bucket_name
           << " status=" << op_ret
           << " http_status=" << s->err.http_ret
           << " latency=" << lat