From fe62bf4e6e4fb693c4ccd2f9fef97bcdc90f2aa8 Mon Sep 17 00:00:00 2001 From: "Jesse F. Williamson" Date: Tue, 17 Feb 2026 11:03:38 -0800 Subject: [PATCH] Remove some junk instrumentation. Signed-off-by: Jesse F. Williamson --- src/common/ceph_json.cc | 4 ---- src/common/ceph_json.h | 2 -- 2 files changed, 6 deletions(-) diff --git a/src/common/ceph_json.cc b/src/common/ceph_json.cc index 40526e957c5..83fa8bdec34 100644 --- a/src/common/ceph_json.cc +++ b/src/common/ceph_json.cc @@ -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 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]; diff --git a/src/common/ceph_json.h b/src/common/ceph_json.h index b2dd233d566..e3bd9aa5dce 100644 --- a/src/common/ceph_json.h +++ b/src/common/ceph_json.h @@ -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 -- 2.47.3