]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Remove some junk instrumentation.
authorJesse F. Williamson <jfw@ibm.com>
Tue, 17 Feb 2026 19:03:38 +0000 (11:03 -0800)
committerJesse F. Williamson <jfw@ibm.com>
Tue, 17 Feb 2026 19:03:38 +0000 (11:03 -0800)
Signed-off-by: Jesse F. Williamson <jfw@ibm.com>
src/common/ceph_json.cc
src/common/ceph_json.h

index 40526e957c5c4e9473b543976cc5d41d59cb988a..83fa8bdec34b79de59acb6dbe44f4620b140535e 100644 (file)
@@ -311,9 +311,7 @@ int JSONFormattable::set(const string& name, const string& val)
 
   JSONParser jp;
 
-fmt::println("JFW: about to parse \"{}\" => \"{}\"", name, val);
   bool is_valid_json = jp.parse(val);
-fmt::println("JFW: kk");
 
   for (const auto& i : tok) {
     vector<field_entity> v;
@@ -343,14 +341,12 @@ fmt::println("JFW: kk");
         if (vi.append) {
           index = f->arr.size();
         } else if (index < 0) {
-fmt::println("JFW: index < 0");
           index = f->arr.size() + index;
           if (index < 0) {
             return -EINVAL; /* out of bounds */
           }
         }
         if ((size_t)index >= f->arr.size()) {
-fmt::println("JFW: index resize");
           f->arr.resize(index + 1);
         }
         f = &f->arr[index];
index b2dd233d5664663f0ca9b5788372aa9e98b77ec8..e3bd9aa5dcec1acba359f2959660ac47eb879d7b 100644 (file)
@@ -210,8 +210,6 @@ protected:
       return true;
     }
 
-fmt::println("JFW: JSON stream parsing failed: {}", ec.message());
-
    if (boost::json::error::extra_data == ec || bytes_written < input.size()) {
       // As the failure case is expected to be rare, and originates from
       // malformed input, we'll try to convert to a string (as some extant