Allow run-time switching to the TRACE log level

This commit is contained in:
Zahary Karadjov 2020-02-03 17:06:35 +01:00
parent b3310cd49c
commit 0d9503ee49
No known key found for this signature in database
GPG Key ID: C8936F8A3073D609
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ cli do (testnetName {.argument.}: string):
validatorsDir = dataDir / "validators"
dumpDir = dataDir / "dump"
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
if system.fileExists(depositContractFile):

View File

@ -16,7 +16,7 @@ mkdir -p "$VALIDATORS_DIR"
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
DEFS=""