From ae0373cc382e5c2ee7aebae73a75ff29a6c994c5 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sun, 24 Dec 2023 20:21:06 -0500 Subject: [PATCH] simplify log fetching --- count | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/count b/count index 93be8ce..aa63865 100755 --- a/count +++ b/count @@ -15,10 +15,10 @@ mkdir logs for host in ${hosts_releases[@]}; do echo obtaining logs from $host - ssh $host journalctl -u nginx | grep ' 200 ' >> logs/merged.log + ssh $host journalctl -u nginx -g ' 200 ' >> logs/merged.log done -grep Dalvik/ logs/merged.log | grep ' 200 ' > logs/merged-device.log +grep Dalvik/ logs/merged.log > logs/merged-device.log echo echo update checks