From dcce475f0b7fe2cc55f162323863e01bfc587078 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Tue, 24 Jul 2018 16:03:42 -0700 Subject: [PATCH] Progagate logging configuration to client nodes --- ci/testnet-deploy.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ci/testnet-deploy.sh b/ci/testnet-deploy.sh index 4749e718a0..bf40190f10 100755 --- a/ci/testnet-deploy.sh +++ b/ci/testnet-deploy.sh @@ -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 \