Include affected JobID wen logging 'really running on a bad branch' (SB #92129)
authorZdeněk Šustr <sustr4@cesnet.cz>
Mon, 4 Jun 2012 07:21:22 +0000 (07:21 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Mon, 4 Jun 2012 07:21:22 +0000 (07:21 +0000)
org.glite.lb.state-machine/src/process_event.c

index c6b3060..357ebd0 100644 (file)
@@ -609,8 +609,9 @@ static int processEvent_glite(intJobStat *js, edg_wll_Event *e, int ev_seq, int
                        /* consistence check -- should not receive two contradicting ReallyRunning's within single
                           deep resub cycle */
                        if (fine_res == RET_BADBRANCH) {
-                               syslog(LOG_ERR,"ReallyRunning on bad branch %s",
-                                               e->any.source == EDG_WLL_SOURCE_LOG_MONITOR ? e->reallyRunning.wn_seq : e->any.seqcode);
+                               syslog(LOG_ERR,"ReallyRunning on bad branch %s (%s)",
+                                               e->any.source == EDG_WLL_SOURCE_LOG_MONITOR ? e->reallyRunning.wn_seq : e->any.seqcode,
+                                               e->any.jobId);
                                break;
                        }
                        /* select the branch unless TOOOLD, i.e. before deep resubmission */