]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
rgw_op: Drop the Old LifecycleConfiguration from logs 16821/head
authorAbhishek Lekshmanan <abhishek@suse.com>
Fri, 4 Aug 2017 13:24:49 +0000 (15:24 +0200)
committerAbhishek Lekshmanan <abhishek@suse.com>
Fri, 4 Aug 2017 13:59:20 +0000 (15:59 +0200)
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 <abhishek@suse.com>
src/rgw/rgw_op.cc

index 72a4ec86fe28cdb889e6f6409486a4e8cddc3e45..546432beba4117191af1d4e6118063dc07aa0d7f 100644 (file)
@@ -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;