mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-05-13 04:02:32 -04:00
simplify log fetching
This commit is contained in:
parent
15a2fa132f
commit
ae0373cc38
1 changed files with 2 additions and 2 deletions
4
count
4
count
|
@ -15,10 +15,10 @@ 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 | grep ' 200 ' >> logs/merged.log
|
ssh $host journalctl -u nginx -g ' 200 ' >> logs/merged.log
|
||||||
done
|
done
|
||||||
|
|
||||||
grep Dalvik/ logs/merged.log | grep ' 200 ' > logs/merged-device.log
|
grep Dalvik/ logs/merged.log > logs/merged-device.log
|
||||||
|
|
||||||
echo
|
echo
|
||||||
echo update checks
|
echo update checks
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue