From 9b26784b24b8d0b8f3f85090137d5a5153cd88fd Mon Sep 17 00:00:00 2001 From: Seena Fallah Date: Wed, 26 Jun 2024 21:39:02 +0200 Subject: [PATCH] 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 --- src/rgw/rgw_process.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rgw/rgw_process.cc b/src/rgw/rgw_process.cc index 4a598f8f059..6c2c6569100 100644 --- a/src/rgw/rgw_process.cc +++ b/src/rgw/rgw_process.cc @@ -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 -- 2.47.3