]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix opslog uri as per Amazon s3
authorJiaying Ren <jiaying.ren@umcloud.com>
Thu, 10 Aug 2017 07:21:32 +0000 (15:21 +0800)
committerCasey Bodley <cbodley@redhat.com>
Mon, 8 Jan 2018 21:29:05 +0000 (16:29 -0500)
commit2dd6512cdd9ed2548ceae42d5785c140b1ac2a35
tree90ec2be5f986e27fa8ad4ad2be5e918bce619d22
parente7bd12a38716d17a7d6b752d6730d5913916cded
rgw: fix opslog uri as per Amazon s3

According to s3[1], current Request-URI opslog entry are missing:

+ request method
+ query string
+ http version number

[1] http://docs.aws.amazon.com/AmazonS3/latest/dev/LogFormat.html

Fixes: http://tracker.ceph.com/issues/20971
Reported-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
(cherry picked from commit 96bb12a158ab899ec219d88e140499a4e27b4ba5)
src/rgw/rgw_asio_client.cc
src/rgw/rgw_civetweb.cc
src/rgw/rgw_log.cc