mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2024-10-01 00:55:42 -04:00
simplify log fetching
This commit is contained in:
parent
15a2fa132f
commit
ae0373cc38
4
count
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user