]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw: fix total_time to msec as per AWS S3 17541/head
authorJiaying Ren <jiaying.ren@umcloud.com>
Thu, 7 Sep 2017 06:50:50 +0000 (14:50 +0800)
committerJiaying Ren <jiaying.ren@umcloud.com>
Thu, 7 Sep 2017 07:02:20 +0000 (15:02 +0800)
commitd84cb650de5d53671a3d855c9e14894a440a466a
tree75129144cb9b79fc0eafc1f08e536089993f4287
parent53d34d44252d156672b5bebc5ba4f45181421941
rgw: fix total_time to msec as per AWS S3

As AWS log format[1] are using millisecond as unit, change rgw total_time
unit from usec to msec.

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

Reported-by: Zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
src/rgw/rgw_admin.cc
src/rgw/rgw_log.cc