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

@ -37,6 +37,9 @@ while [[ -n $1 ]]; do
elif [[ $1 = --skip-poh-verify ]]; then
args+=("$1")
shift
elif [[ $1 = --log ]]; then
args+=("$1" "$2")
shift 2
else
echo "Unknown argument: $1"
$program --help
@ -79,6 +82,7 @@ args+=(
--rpc-drone-address 127.0.0.1:9900
)
default_arg --gossip-port 8001
default_arg --log -
set -x
# shellcheck disable=SC2086 # Don't want to double quote $program