From 0de5ee871481dbb3ef80f05949ae1bb9a2d8406c Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 22 Aug 2008 04:50:30 +0000 Subject: [PATCH] svn path=/trunk/boinc/; revision=15922 --- client/app_control.C | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) 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 + ); + } + } } }