From: Samuel Just Date: Wed, 24 Jul 2024 04:37:29 +0000 (-0700) Subject: crimson/osd/pg: convert PG::handle_rep_op to logging macros X-Git-Tag: v20.0.0~1099^2~11 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f7504b29c72cf61e6ae7c9c66e49e3c0a697f6c4;p=ceph.git crimson/osd/pg: convert PG::handle_rep_op to logging macros Signed-off-by: Samuel Just --- diff --git a/src/crimson/osd/pg.cc b/src/crimson/osd/pg.cc index f4551e04b30e2..21b1e5db66a57 100644 --- a/src/crimson/osd/pg.cc +++ b/src/crimson/osd/pg.cc @@ -1439,7 +1439,8 @@ void PG::update_stats(const pg_stat_t &stat) { PG::interruptible_future<> PG::handle_rep_op(Ref req) { - logger().debug("{}: {}", __func__, *req); + LOG_PREFIX(PG::handle_rep_op); + DEBUGDPP("{}", *this, *req); if (can_discard_replica_op(*req)) { return seastar::now(); } @@ -1458,7 +1459,7 @@ PG::interruptible_future<> PG::handle_rep_op(Ref req) !txn.empty(), txn, false); - logger().debug("PG::handle_rep_op: do_transaction..."); + DEBUGDPP("{} do_transaction", *this, *req); return interruptor::make_interruptible(shard_services.get_store().do_transaction( coll_ref, std::move(txn))).then_interruptible( [req, lcod=peering_state.get_info().last_complete, this] {