mirror of
https://github.com/GrapheneOS/infrastructure.git
synced 2025-11-19 14:32:27 -05:00
count: handle nginx logs being done with syslog-ng
This commit is contained in:
parent
c3d7324536
commit
4a5e91de42
1 changed files with 1 additions and 1 deletions
2
count
2
count
|
|
@ -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 -o cat -g ' 200 ' >> logs/merged.log
|
ssh $host 'zstdcat /var/log/nginx/access.log* | zstd -1' | zstd -1d >> logs/merged.log
|
||||||
done
|
done
|
||||||
|
|
||||||
grep Dalvik/ logs/merged.log > logs/merged-device.log
|
grep Dalvik/ logs/merged.log > logs/merged-device.log
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue