Validators now log to a file by default (use -o -/--log - for stderr) (#6768)

automerge
This commit is contained in:
Michael Vines
2019-11-06 12:47:34 -07:00
committed by Grimes
parent a1fe6265fd
commit 8fa6935c9d
5 changed files with 69 additions and 12 deletions

View File

@ -143,6 +143,9 @@ while [[ -n $1 ]]; do
elif [[ $1 = --skip-poh-verify ]]; then
args+=("$1")
shift
elif [[ $1 = --log ]]; then
args+=("$1" "$2")
shift 2
elif [[ $1 = -h ]]; then
usage "$@"
else
@ -216,6 +219,7 @@ default_arg --identity "$identity_keypair_path"
default_arg --voting-keypair "$voting_keypair_path"
default_arg --storage-keypair "$storage_keypair_path"
default_arg --ledger "$ledger_dir"
default_arg --log -
if [[ -n $SOLANA_CUDA ]]; then
program=$solana_validator_cuda