Merge pull request #16 from tomchapin/feature/process-filtering

Filter out "networkStatusForFlags" from kernel messages
pull/19/head
killian 11 months ago committed by GitHub
commit 917d13b9fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -32,7 +32,7 @@ def custom_filter(message):
elif 'USB' in message: elif 'USB' in message:
return message return message
# Check for network related keywords # Check for network related keywords
elif any(keyword in message for keyword in ['network', 'IP', 'internet', 'LAN', 'WAN', 'router', 'switch']): elif any(keyword in message for keyword in ['network', 'IP', 'internet', 'LAN', 'WAN', 'router', 'switch']) and "networkStatusForFlags" not in message:
return message return message
else: else:
return None return None

Loading…
Cancel
Save