From: Abhishek Lekshmanan Date: Fri, 4 Aug 2017 13:24:49 +0000 (+0200) Subject: rgw_op: Drop the Old LifecycleConfiguration from logs X-Git-Tag: v13.0.0~202^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=7bdee8828796c13684d4f13f0c9d4651156b3742;p=ceph.git rgw_op: Drop the Old LifecycleConfiguration from logs Since we're not printing the actual existing LifeCylceConfiguration merely printing the parsed XML vs the Validated XML, and the supplied XML is already printed in the previous line, which makes this sort of redundant. We could print the existing LC configuration from the bucket attrs if necessary Signed-off-by: Abhishek Lekshmanan --- diff --git a/src/rgw/rgw_op.cc b/src/rgw/rgw_op.cc index 72a4ec86fe28..546432beba41 100644 --- a/src/rgw/rgw_op.cc +++ b/src/rgw/rgw_op.cc @@ -4753,12 +4753,6 @@ void RGWPutLC::execute() return; } - if (s->cct->_conf->subsys.should_gather(ceph_subsys_rgw, 15)) { - ldout(s->cct, 15) << "Old LifecycleConfiguration:"; - config->to_xml(*_dout); - *_dout << dendl; - } - op_ret = config->rebuild(store, new_config); if (op_ret < 0) return;