From: Seena Fallah Date: Wed, 22 May 2024 16:23:22 +0000 (+0200) Subject: rgw: log x-amz-request-id along with the request X-Git-Tag: v20.0.0~1105^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=548426630e17cc0b5366413357dee5d14951ad15;p=ceph.git rgw: log x-amz-request-id along with the request As this is the identifier from a user to a request it needs to be logged so the admin can identify the request. Fixes: https://tracker.ceph.com/issues/66180 Signed-off-by: Seena Fallah --- diff --git a/src/rgw/rgw_process.cc b/src/rgw/rgw_process.cc index 10e544b577df..1c821667847e 100644 --- a/src/rgw/rgw_process.cc +++ b/src/rgw/rgw_process.cc @@ -467,11 +467,12 @@ done: *latency = lat; } dout(1) << "====== req done req=" << hex << req << dec - << " op status=" << op_ret - << " http_status=" << s->err.http_ret - << " latency=" << lat - << " ======" - << dendl; + << " op status=" << op_ret + << " http_status=" << s->err.http_ret + << " latency=" << lat + << " request_id=" << s->trans_id + << " ======" + << dendl; return (ret < 0 ? ret : s->err.ret); } /* process_request */