insert a debug log in doubleFilter.newEntry()

This commit is contained in:
Schrolli 2015-06-30 08:55:46 +02:00
parent 8b8cd81abc
commit 948aaea065

View file

@ -57,6 +57,8 @@ def newEntry(id, msg = ""):
timestamp = int(time.time()) # Get Timestamp
globals.doubleList.append((id, timestamp, msg))
logging.debug("Added %s to doubleList", id)
# now check if list has more than n entries:
if len(globals.doubleList) > globals.config.getint("BOSWatch", "doubleFilter_ignore_entries"):
# we have to kill the oldest one