Allow logs filtering by name
MODIFY
plextraktsync/logger/filter.py
plextraktsync/logger/filter.py
@@ -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:

Allow logs filtering by name