ENH: failmanager -- additional debug message about # of known failures

pull/4/head
Yaroslav Halchenko 2011-10-06 17:18:17 -04:00
parent 1674b7b4f2
commit 19c9ac4fb5
1 changed files with 2 additions and 0 deletions

View File

@ -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()