Skip to content
Snippets Groups Projects
Verified Commit 1994779a authored by Alberto Miranda's avatar Alberto Miranda :hotsprings:
Browse files

Fix issues with ADM_ping logging output

parent 007146f2
No related branches found
No related tags found
1 merge request!45Resolve "Standing issues with `AMD_ping` logging output"
Pipeline #3144 passed
......@@ -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;
}
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment