]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rgw: refactor remaining rgw_rest_swift logging
authorAli Maredia <amaredia@redhat.com>
Mon, 18 Mar 2019 21:33:27 +0000 (17:33 -0400)
committerAli Maredia <amaredia@redhat.com>
Tue, 16 Apr 2019 21:37:16 +0000 (17:37 -0400)
Signed-off-by: Ali Maredia <amaredia@redhat.com>
src/rgw/rgw_rest_swift.cc

index 9929537cb285d40485f43124f97ff178c988a50b..00ce5cdc7776e537fac5678afd61a37b36195923 100644 (file)
@@ -2598,7 +2598,7 @@ bool RGWSwiftWebsiteHandler::is_index_present(const std::string& index)
 
 int RGWSwiftWebsiteHandler::retarget_bucket(RGWOp* op, RGWOp** new_op)
 {
-  ldout(s->cct, 10) << "Starting retarget" << dendl;
+  ldpp_dout(s, 10) << "Starting retarget" << dendl;
   RGWOp* op_override = nullptr;
 
   /* In Swift static web content is served if the request is anonymous or
@@ -2632,7 +2632,7 @@ int RGWSwiftWebsiteHandler::retarget_bucket(RGWOp* op, RGWOp** new_op)
 
 int RGWSwiftWebsiteHandler::retarget_object(RGWOp* op, RGWOp** new_op)
 {
-  ldout(s->cct, 10) << "Starting object retarget" << dendl;
+  ldpp_dout(s, 10) << "Starting object retarget" << dendl;
   RGWOp* op_override = nullptr;
 
   /* In Swift static web content is served if the request is anonymous or
@@ -3066,7 +3066,7 @@ RGWRESTMgr_SWIFT::get_handler(struct req_state* const s,
 {
   int ret = RGWHandler_REST_SWIFT::init_from_header(s, frontend_prefix);
   if (ret < 0) {
-    ldout(s->cct, 10) << "init_from_header returned err=" << ret <<  dendl;
+    ldpp_dout(s, 10) << "init_from_header returned err=" << ret <<  dendl;
     return nullptr;
   }