]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rgw/rgw_gc.cc
import ceph nautilus 14.2.2
[ceph.git] / ceph / src / rgw / rgw_gc.cc
index 8e6137e9676f92a48d56bd3cdabbb0433020a352..6ebce7f6023e548d63861ac7c10d237e57e5c430 100644 (file)
@@ -250,27 +250,9 @@ public:
     index_io.type = IO::IndexIO;
     index_io.index = index;
 
-    // use lambda to assemble list, so it will only get executed if
-    // we're at the appropirate logging level
-    auto lister = [&rt]() -> std::string {
-      std::stringstream out;
-      bool first = true;
-
-      for (const auto& s : rt) {
-       if (first) {
-         first = false;
-       } else {
-         out << ", ";
-       }
-       out << s;
-      }
-
-      return out.str();
-    };
-
     ldpp_dout(dpp, 20) << __func__ <<
       " removing entries from gc log shard index=" << index << ", size=" <<
-      rt.size() << ", entries=[" << lister() << "]" << dendl;
+      rt.size() << ", entries=" << rt << dendl;
 
     int ret = gc->remove(index, rt, &index_io.c);
     rt.clear();