From: lu.shasha Date: Fri, 7 Jul 2017 06:25:37 +0000 (+0800) Subject: rgw: raise debug level of RGWPostObj_ObjStore_S3::get_policy X-Git-Tag: ses5-milestone9~1^2~34^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F16203%2Fhead;p=ceph.git rgw: raise debug level of RGWPostObj_ObjStore_S3::get_policy Signed-off-by: Shasha Lu --- diff --git a/src/rgw/rgw_policy_s3.cc b/src/rgw/rgw_policy_s3.cc index 130943603ab..17a4e9536f9 100644 --- a/src/rgw/rgw_policy_s3.cc +++ b/src/rgw/rgw_policy_s3.cc @@ -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 { diff --git a/src/rgw/rgw_rest_s3.cc b/src/rgw/rgw_rest_s3.cc index 4ba9ba4695d..4a916d481b2 100644 --- a/src/rgw/rgw_rest_s3.cc +++ b/src/rgw/rgw_rest_s3.cc @@ -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);