mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-01-11 14:54:12 +00:00
timestamps in log files
This commit is contained in:
parent
673eeb6a65
commit
3a3d3f9bde
@ -101,7 +101,7 @@ cli do (skipGoerliKey {.
|
|||||||
nimFlags = "-d:chronicles_log_level=TRACE " & getEnv("NIM_PARAMS")
|
nimFlags = "-d:chronicles_log_level=TRACE " & getEnv("NIM_PARAMS")
|
||||||
|
|
||||||
# write the logs to a file
|
# write the logs to a file
|
||||||
nimFlags.add """ -d:"chronicles_sinks=textlines,json[file(nbc.log,truncate)]" """
|
nimFlags.add """ -d:"chronicles_sinks=textlines,json[file(nbc""" & staticExec("date +\"%Y%m%d%H%M%S\"") & """.log)]" """
|
||||||
|
|
||||||
let depositContractFile = testnetDir / depositContractFileName
|
let depositContractFile = testnetDir / depositContractFileName
|
||||||
if system.fileExists(depositContractFile):
|
if system.fileExists(depositContractFile):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user