From 948aaea0658bb6b4f38a949cceadc67bd7890891 Mon Sep 17 00:00:00 2001 From: Schrolli Date: Tue, 30 Jun 2015 08:55:46 +0200 Subject: [PATCH] insert a debug log in doubleFilter.newEntry() --- includes/doubleFilter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/doubleFilter.py b/includes/doubleFilter.py index b1248ac..bd7186f 100644 --- a/includes/doubleFilter.py +++ b/includes/doubleFilter.py @@ -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