Produce a json log file in the data dir of each node in the local network sim

This commit is contained in:
Zahary Karadjov 2020-02-04 16:03:39 +01:00
parent e4922cb177
commit d634eba3fd
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
3 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ if [[ $NODE_ID == $MASTER_NODE ]]; then
NODE_BIN=$BOOTSTRAP_NODE_BIN
fi
$NODE_BIN \
cd "$DATA_DIR" && $NODE_BIN \
--bootstrap-file=$BOOTSTRAP_ADDRESS_FILE \
--data-dir=$DATA_DIR \
--node-name=$NODE_ID \

View File

@ -16,7 +16,7 @@ mkdir -p "$VALIDATORS_DIR"
cd "$GIT_ROOT"
NIMFLAGS="-d:chronicles_log_level=TRACE --hints:off --warnings:off --verbosity:0 --opt:speed --debuginfo"
NIMFLAGS="-d:chronicles_log_level=TRACE -d:chronicles_sinks:textlines,json[file] --hints:off --warnings:off --verbosity:0 --opt:speed --debuginfo"
# Run with "SLOTS_PER_EPOCH=8 ./start.sh" to change these
DEFS=""

2
vendor/nim-libp2p vendored

@ -1 +1 @@
Subproject commit d42833947a4baddf21da8ac3105e2d5956a6daac
Subproject commit 7bd305471c0ab1a0306e6734915952f236cc88eb