Commit 1057491e authored by Lars Kruse's avatar Lars Kruse

disable "multiple messages suppressed" in debug mode

parent ddf06eb2
......@@ -118,7 +118,8 @@ class RepetitionsFilter(logging.Filter):
record.getMessage().startswith(
self._last_record.getMessage()[:self._cmp_len])
similarity = "similar"
if message_equal and (now - self._last_timestamp <= self._delay):
if not is_debug() and \
(message_equal and (now - self._last_timestamp <= self._delay)):
self._suppressed_messages_counter += 1
return False
else:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment