diff --git a/client/app_control.C b/client/app_control.C index 98932a5f19..4c949f2ea8 100644 --- a/client/app_control.C +++ b/client/app_control.C @@ -418,7 +418,20 @@ void ACTIVE_TASK_SET::send_heartbeats() { "%f", atp->procinfo.working_set_size, ar ); - atp->app_client_shm.shm->heartbeat.send_msg(buf); + bool sent = atp->app_client_shm.shm->heartbeat.send_msg(buf); + if (log_flags.app_msg_send) { + if (sent) { + msg_printf(atp->result->project, MSG_INFO, + "[app_msg_send] sent heartbeat to %s", + atp->result->name + ); + } else { + msg_printf(atp->result->project, MSG_INFO, + "[app_msg_send] failed to send heartbeat to %s", + atp->result->name + ); + } + } } }