Allow run-time switching to the TRACE log level
This commit is contained in:
parent
b3310cd49c
commit
0d9503ee49
|
@ -75,7 +75,7 @@ cli do (testnetName {.argument.}: string):
|
||||||
validatorsDir = dataDir / "validators"
|
validatorsDir = dataDir / "validators"
|
||||||
dumpDir = dataDir / "dump"
|
dumpDir = dataDir / "dump"
|
||||||
beaconNodeBinary = buildDir / "beacon_node_" & dataDirName
|
beaconNodeBinary = buildDir / "beacon_node_" & dataDirName
|
||||||
nimFlags = "-d:chronicles_log_level=DEBUG " & getEnv("NIM_PARAMS")
|
nimFlags = "-d:chronicles_log_level=TRACE " & getEnv("NIM_PARAMS")
|
||||||
|
|
||||||
let depositContractFile = testnetDir / depositContractFileName
|
let depositContractFile = testnetDir / depositContractFileName
|
||||||
if system.fileExists(depositContractFile):
|
if system.fileExists(depositContractFile):
|
||||||
|
|
|
@ -16,7 +16,7 @@ mkdir -p "$VALIDATORS_DIR"
|
||||||
|
|
||||||
cd "$GIT_ROOT"
|
cd "$GIT_ROOT"
|
||||||
|
|
||||||
NIMFLAGS="-d:chronicles_log_level=DEBUG --hints:off --warnings:off --verbosity:0 --opt:speed --debuginfo"
|
NIMFLAGS="-d:chronicles_log_level=TRACE --hints:off --warnings:off --verbosity:0 --opt:speed --debuginfo"
|
||||||
|
|
||||||
# Run with "SLOTS_PER_EPOCH=8 ./start.sh" to change these
|
# Run with "SLOTS_PER_EPOCH=8 ./start.sh" to change these
|
||||||
DEFS=""
|
DEFS=""
|
||||||
|
|
Loading…
Reference in New Issue