From a87b28f1cf81d0373ae73c535d52478843e4cbdd Mon Sep 17 00:00:00 2001 From: "lu.shasha" Date: Fri, 7 Jul 2017 14:25:37 +0800 Subject: [PATCH] rgw: raise debug level of RGWPostObj_ObjStore_S3::get_policy Signed-off-by: Shasha Lu --- src/rgw/rgw_policy_s3.cc | 2 +- src/rgw/rgw_rest_s3.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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); -- 2.47.3