From c42017839f5f752ceddcd5f37a84814815c522aa Mon Sep 17 00:00:00 2001 From: Moritz Date: Wed, 8 May 2024 21:50:39 +0200 Subject: [PATCH] update quieten() function to make output less verbose --- abra.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/abra.sh b/abra.sh index 74bdde4..a5e0bf1 100644 --- a/abra.sh +++ b/abra.sh @@ -176,7 +176,9 @@ for name, url in applications.items(): quieten(){ - grep -v -e '{"event"' -e '{"action"' + # 'SyntaxWarning|version_regex|"http\[' + # is a workaround to get rid of some verbose syntax warnings, this might be fixed with another version + grep -Pv '"level": "(info|debug)"|SyntaxWarning|version_regex|"http\[' } add_email_templates(){