use leaner format for update log output

This commit is contained in:
Daniel Micay 2024-02-02 07:26:36 -05:00
parent 6989905361
commit a010e02c52

2
count
View File

@ -15,7 +15,7 @@ mkdir logs
for host in ${hosts_releases[@]}; do for host in ${hosts_releases[@]}; do
echo obtaining logs from $host echo obtaining logs from $host
ssh $host journalctl -u nginx -g ' 200 ' >> logs/merged.log ssh $host journalctl -u nginx -o cat -g ' 200 ' >> logs/merged.log
done done
grep Dalvik/ logs/merged.log > logs/merged-device.log grep Dalvik/ logs/merged.log > logs/merged-device.log