From 19c9ac4fb56407ce4d90a82daf1ff95d5b27d49d Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Thu, 6 Oct 2011 17:18:17 -0400 Subject: [PATCH] ENH: failmanager -- additional debug message about # of known failures --- server/failmanager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/failmanager.py b/server/failmanager.py index 95cd47c0..840455df 100644 --- a/server/failmanager.py +++ b/server/failmanager.py @@ -101,6 +101,8 @@ class FailManager: fData.setLastReset(unixTime) fData.setLastTime(unixTime) self.__failList[ip] = fData + logSys.debug("Currently have failures from %d IPs: %s" + % (len(self.__failList), self.__failList.keys())) self.__failTotal += 1 finally: self.__lock.release()