Allow logs filtering by name
@@ -61,6 +61,12 @@ def filter(self, record: LogRecord):
matched = True
else:
continue
+ # Filter by name
+ if rule.name:
+ if rule.name == record.name:
+ matched = True
+ else:
+ continue
# Filter by message
if rule.message:
if rule.message in message:
