From d553cfa65faf3cd9aae1bcff97b75f624c147171 Mon Sep 17 00:00:00 2001
From: Gerardo Ganis <Gerardo.Ganis@cern.ch>
Date: Thu, 25 Nov 2010 11:05:10 +0000
Subject: [PATCH] Better diagnostic for worker (de-)activation problems

git-svn-id: http://root.cern.ch/svn/root/trunk@36933 27541ba8-7e3a-0410-8455-c3a389f83636
---
 proof/proof/src/TProofServ.cxx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/proof/proof/src/TProofServ.cxx b/proof/proof/src/TProofServ.cxx
index 2f09526fedf..a3123d6a545 100644
--- a/proof/proof/src/TProofServ.cxx
+++ b/proof/proof/src/TProofServ.cxx
@@ -5400,8 +5400,8 @@ void TProofServ::HandleWorkerLists(TMessage *mess)
                   if (nactnew == (nact + 1)) {
                      Info("HandleWorkerList","worker %s (re-)activated", ord.Data());
                   } else {
-                     Info("HandleWorkerList","worker %s could not be (re-)activated:"
-                                             " check the ordinal number", ord.Data());
+                     Info("HandleWorkerList","worker %s could not be (re-)activated;"
+                                             " # of actives: %d --> %d", ord.Data(), nact, nactnew);
                   }
                }
             } else {
@@ -5429,7 +5429,7 @@ void TProofServ::HandleWorkerLists(TMessage *mess)
                      Info("HandleWorkerList","worker %s deactivated", ord.Data());
                   } else {
                      Info("HandleWorkerList","worker %s could not be deactivated:"
-                                             " check the ordinal number", ord.Data());
+                                             " # of actives: %d --> %d", ord.Data(), nact, nactnew);
                   }
                }
             } else {
-- 
GitLab