From 5fdf1e76e06716d9591e5764874fd63abaa85591 Mon Sep 17 00:00:00 2001 From: evoskuil Date: Wed, 4 Mar 2026 23:49:29 -0500 Subject: [PATCH] Change rpc read logging to LOGR vs. LOGF (parse). --- include/bitcoin/network/impl/channels/channel_rpc.ipp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/bitcoin/network/impl/channels/channel_rpc.ipp b/include/bitcoin/network/impl/channels/channel_rpc.ipp index 26018479f..4b6716a3d 100644 --- a/include/bitcoin/network/impl/channels/channel_rpc.ipp +++ b/include/bitcoin/network/impl/channels/channel_rpc.ipp @@ -95,8 +95,8 @@ inline void CLASS::handle_receive(const code& ec, size_t bytes, // Don't log common conditions. if (ec != error::end_of_stream && ec != error::operation_canceled) { - LOGF("Rpc read failure [" << endpoint() << "] " - << ec.message()); + // These are most likely to be json-rpc parse errors (remote). + LOGR("Rpc read failure [" << endpoint() << "] " << ec.message()); } stop(ec);