mirror of
https://github.com/Schrolli91/BOSWatch.git
synced 2026-01-20 15:20:16 +01:00
insert a debug log in doubleFilter.newEntry()
This commit is contained in:
parent
8b8cd81abc
commit
948aaea065
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue