From 7bdee8828796c13684d4f13f0c9d4651156b3742 Mon Sep 17 00:00:00 2001 From: Abhishek Lekshmanan Date: Fri, 4 Aug 2017 15:24:49 +0200 Subject: [PATCH] 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 --- src/rgw/rgw_op.cc | 6 ------ 1 file changed, 6 deletions(-) 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; -- 2.47.3