Skip to content

Commit 9b26784

Browse files
committed
rgw: log bucket name to req done line
This can help to identify the target bucket name if the bucket was resolved by host header. Signed-off-by: Seena Fallah <[email protected]>
1 parent d6d9a3e commit 9b26784

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/rgw/rgw_process.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -465,6 +465,7 @@ int process_request(const RGWProcessEnv& penv,
465465
}
466466
dout(1) << "====== req done req=" << hex << req << dec
467467
<< " op=" << (op ? op->name() : "unknown")
468+
<< " bucket=" << s->bucket_name
468469
<< " status=" << op_ret
469470
<< " http_status=" << s->err.http_ret
470471
<< " latency=" << lat

0 commit comments

Comments
 (0)