]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw: raise debug level of RGWPostObj_ObjStore_S3::get_policy 16203/head
authorlu.shasha <lu.shasha@eisoo.com>
Fri, 7 Jul 2017 06:25:37 +0000 (14:25 +0800)
committerlu.shasha <lu.shasha@eisoo.com>
Fri, 7 Jul 2017 06:25:37 +0000 (14:25 +0800)
Signed-off-by: Shasha Lu <lu.shasha@eisoo.com>
src/rgw/rgw_policy_s3.cc
src/rgw/rgw_rest_s3.cc

index 130943603ab3fc2fa2b39762aff502db34b7d636..17a4e9536f907a30085ea7d3d60a530ee920b2b5 100644 (file)
@@ -292,7 +292,7 @@ int RGWPolicy::from_json(bufferlist& bl, string& err_msg)
         return r;
     } else if (!citer.end()) {
       JSONObj *c = *citer;
-      dout(0) << "adding simple_check: " << c->get_name() << " : " << c->get_data() << dendl;
+      dout(20) << "adding simple_check: " << c->get_name() << " : " << c->get_data() << dendl;
 
       add_simple_check(c->get_name(), c->get_data());
     } else {
index 4ba9ba4695d8cf911e5eb37dec6e08300fcc70d3..4a916d481b21f8e3bbbd0491e8871b4e011191c6 100644 (file)
@@ -1742,7 +1742,7 @@ int RGWPostObj_ObjStore_S3::get_policy()
       /* Populate the owner info. */
       s->owner.set_id(s->user->user_id);
       s->owner.set_name(s->user->display_name);
-      ldout(s->cct, 0) << "Successful Signature Verification!" << dendl;
+      ldout(s->cct, 20) << "Successful Signature Verification!" << dendl;
     }
 
     ceph::bufferlist decoded_policy;
@@ -1755,7 +1755,7 @@ int RGWPostObj_ObjStore_S3::get_policy()
     }
 
     decoded_policy.append('\0'); // NULL terminate
-    ldout(s->cct, 0) << "POST policy: " << decoded_policy.c_str() << dendl;
+    ldout(s->cct, 20) << "POST policy: " << decoded_policy.c_str() << dendl;
 
 
     int r = post_policy.from_json(decoded_policy, err_msg);