From 872d3770215a1deb6b1e22a4ce987b01ba648b00 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Tue, 11 Oct 2011 19:49:12 +0000 Subject: [PATCH] Tell what the update status is. This commit was SVN r25259. --- orte/mca/errmgr/hnp/errmgr_hnp.c | 5 +++-- orte/mca/errmgr/orted/errmgr_orted.c | 13 +++++++------ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/orte/mca/errmgr/hnp/errmgr_hnp.c b/orte/mca/errmgr/hnp/errmgr_hnp.c index 85d9d89128..3384e48619 100644 --- a/orte/mca/errmgr/hnp/errmgr_hnp.c +++ b/orte/mca/errmgr/hnp/errmgr_hnp.c @@ -230,11 +230,12 @@ int orte_errmgr_hnp_global_update_state(orte_jobid_t job, OPAL_OUTPUT_VERBOSE((10, orte_errmgr_base.output, "errmgr:hnp:update_state() %s) " - "------- %s state updated for process %s", + "------- %s state updated for process %s to %s", ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), ((NULL == proc_name) ? "App. Process" : (proc_name->jobid == ORTE_PROC_MY_HNP->jobid ? "Daemon" : "App. Process")), - (NULL == proc_name) ? "NULL" : ORTE_NAME_PRINT(proc_name))); + (NULL == proc_name) ? "NULL" : ORTE_NAME_PRINT(proc_name), + orte_proc_state_to_str(state))); #if OPAL_ENABLE_FT_CR if( mca_errmgr_hnp_component.crmig_enabled && diff --git a/orte/mca/errmgr/orted/errmgr_orted.c b/orte/mca/errmgr/orted/errmgr_orted.c index 6672c9d97e..4c1f1712a9 100644 --- a/orte/mca/errmgr/orted/errmgr_orted.c +++ b/orte/mca/errmgr/orted/errmgr_orted.c @@ -171,12 +171,13 @@ static int update_state(orte_jobid_t job, } OPAL_OUTPUT_VERBOSE((10, orte_errmgr_base.output, - "errmgr:orted:update_state() %s) " - "------- %s state updated for process %s", - ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), - ((NULL == proc) ? "App. Process" : - (proc->jobid == ORTE_PROC_MY_HNP->jobid ? "Daemon" : "App. Process")), - (NULL == proc) ? "NULL" : ORTE_NAME_PRINT(proc))); + "errmgr:orted:update_state() %s) " + "------- %s state updated for process %s to %s", + ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), + ((NULL == proc) ? "App. Process" : + (proc->jobid == ORTE_PROC_MY_HNP->jobid ? "Daemon" : "App. Process")), + (NULL == proc) ? "NULL" : ORTE_NAME_PRINT(proc), + orte_proc_state_to_str(state))); /* if this is a heartbeat failure, let the HNP handle it */ if (ORTE_JOB_STATE_HEARTBEAT_FAILED == jobstate ||