INFO log when we drop a message in message_filter.py
This commit is contained in:
parent
8135f871c3
commit
87a01dac95
1 changed files with 2 additions and 0 deletions
|
@ -26,6 +26,8 @@ class Module(ModuleManager.BaseModule):
|
|||
filters = self._get_filters(event["server"], target)
|
||||
for filter in filters:
|
||||
if re.search(filter, message):
|
||||
self.log.info("Message matched filter, dropping: %s"
|
||||
% event["line"].format())
|
||||
event["line"].invalidate()
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in a new issue