diff --git a/src/lib/detail/impl.cpp b/src/lib/detail/impl.cpp index f6272850530950fc21ad3d6110b8d2f0b565749a..d6d3b266f3c4c19ec762e6f3602a16ea51061e68 100644 --- a/src/lib/detail/impl.cpp +++ b/src/lib/detail/impl.cpp @@ -166,7 +166,7 @@ ping(const server& srv) { LOGGER_INFO("RPC (ADM_{}) => {{}}", __FUNCTION__); const auto rpc = endp.call("ADM_ping"); - LOGGER_INFO("RPC (ADM_{}) <= {{ retval: {}}}", __FUNCTION__, ADM_SUCCESS); + LOGGER_INFO("RPC (ADM_{}) <= {{retval: {}}}", __FUNCTION__, ADM_SUCCESS); return ADM_SUCCESS; } diff --git a/src/scord/rpc_handlers.cpp b/src/scord/rpc_handlers.cpp index e38f7b8435d9ab001582d931155ae6a00e59b9a4..9ebf50607a4f4047630779ecc980500551acca32 100644 --- a/src/scord/rpc_handlers.cpp +++ b/src/scord/rpc_handlers.cpp @@ -43,7 +43,11 @@ ADM_ping(hg_handle_t h) { [[maybe_unused]] margo_instance_id mid = margo_hg_handle_get_instance(h); - LOGGER_INFO("PING(noargs)"); + const auto id = remote_procedure::new_id(); + LOGGER_INFO("RPC ID {} ({}) => {{}}", id, __FUNCTION__); + + LOGGER_INFO("RPC ID {} ({}) <= {{retval: {}}}", id, __FUNCTION__, + ADM_SUCCESS); ret = margo_destroy(h); assert(ret == HG_SUCCESS);