Log to /tmp/solana.log for easy runtime inspection of client activity

This commit is contained in:
Michael Vines 2018-07-20 17:45:13 -07:00 committed by GitHub
parent 23428b0381
commit 52c55a0335
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -226,12 +226,13 @@ client_run \
sudo snap install solana --$SOLANA_SNAP_CHANNEL --devmode; \
snap info solana; \
tmux new -s solana -d \" \
/snap/bin/solana.client-demo $SOLANA_NET_URL ${#vmlist[@]} --loop; \
/snap/bin/solana.client-demo $SOLANA_NET_URL ${#vmlist[@]} --loop 2>&1 | tee /tmp/solana.log; \
echo Error: client-demo should never exit; \
bash \
\"; \
sleep 2; \
tmux capture-pane -t solana -p -S -100 \
tmux capture-pane -t solana -p -S -100; \
tail /tmp/solana.log; \
"
exit 0