Skip to content
Snippets Groups Projects
Commit 323885d1 authored by Alberto Miranda's avatar Alberto Miranda :hotsprings:
Browse files

Merge branch '62-standing-issues-with-amd_ping-logging-output' into 'main'

Resolve "Standing issues with `AMD_ping` logging output"

Closes #62

See merge request !45
parents 007146f2 1994779a
No related branches found
No related tags found
1 merge request!45Resolve "Standing issues with `AMD_ping` logging output"
Pipeline #3168 failed
...@@ -166,7 +166,7 @@ ping(const server& srv) { ...@@ -166,7 +166,7 @@ ping(const server& srv) {
LOGGER_INFO("RPC (ADM_{}) => {{}}", __FUNCTION__); LOGGER_INFO("RPC (ADM_{}) => {{}}", __FUNCTION__);
const auto rpc = endp.call("ADM_ping"); 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; return ADM_SUCCESS;
} }
......
...@@ -43,7 +43,11 @@ ADM_ping(hg_handle_t h) { ...@@ -43,7 +43,11 @@ ADM_ping(hg_handle_t h) {
[[maybe_unused]] margo_instance_id mid = margo_hg_handle_get_instance(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); ret = margo_destroy(h);
assert(ret == HG_SUCCESS); 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