Keep Snap fullnode/drone logs out of syslog, we're too spammy

This commit is contained in:
Michael Vines
2018-07-17 13:31:24 -07:00
committed by Grimes
parent 4423ee6902
commit 5b0418793e
7 changed files with 29 additions and 19 deletions

View File

@ -88,8 +88,9 @@ while ! $solana_wallet \
sleep 1
done
# shellcheck disable=SC2086 # $program should not be quoted
exec $program \
set -o pipefail
$program \
--identity "$SOLANA_CONFIG_DIR"/validator.json \
--testnet "$leader_address:$leader_port" \
--ledger "$SOLANA_LEADER_CONFIG_DIR"/ledger.log
--ledger "$SOLANA_LEADER_CONFIG_DIR"/ledger.log \
2>&1 | $validator_logger