Progagate logging configuration to client nodes

This commit is contained in:
Michael Vines 2018-07-24 16:03:42 -07:00
parent aa2104a21b
commit dcce475f0b
1 changed files with 6 additions and 1 deletions

View File

@ -153,8 +153,12 @@ client_start() {
"\
set -x;
sudo snap install solana --$SOLANA_SNAP_CHANNEL --devmode; \
sudo snap set solana metrics-config=$SOLANA_METRICS_CONFIG; \
sudo snap set solana metrics-config=$SOLANA_METRICS_CONFIG \
rust-log=$RUST_LOG \
default-metrics-rate=$SOLANA_DEFAULT_METRICS_RATE \
; \
snap info solana; \
sudo snap get solana; \
threadCount=\$(nproc); \
if [[ \$threadCount -gt 4 ]]; then threadCount=4; fi; \
tmux new -s solana -d \" \
@ -215,6 +219,7 @@ fullnode_start() {
sudo snap install solana --$SOLANA_SNAP_CHANNEL --devmode; \
sudo snap set solana $nodeConfig; \
snap info solana; \
sudo snap get solana; \
echo Slight delay to get more syslog output; \
sleep 2; \
sudo grep -Pzo \"\$logmarker(.|\\n)*\" /var/log/syslog \