mirror of
https://github.com/status-im/nimbus-eth2.git
synced 2025-02-17 00:47:03 +00:00
[skip ci] simple logging fix
This commit is contained in:
parent
b4fc641b8c
commit
2930b65eb4
@ -1213,10 +1213,6 @@ when isMainModule:
|
||||
proc (logLevel: LogLevel, msg: LogOutputStr) {.gcsafe.} =
|
||||
stdout.write(msg)
|
||||
|
||||
debug "Launching beacon node",
|
||||
version = fullVersionStr,
|
||||
cmdParams = commandLineParams(), config
|
||||
|
||||
randomize()
|
||||
|
||||
if config.logLevel != LogLevel.NONE:
|
||||
@ -1299,6 +1295,11 @@ when isMainModule:
|
||||
reportFailureFor keyFile.string
|
||||
|
||||
of noCommand:
|
||||
debug "Launching beacon node",
|
||||
version = fullVersionStr,
|
||||
cmdParams = commandLineParams(),
|
||||
config
|
||||
|
||||
createPidFile(config.dataDir.string / "beacon_node.pid")
|
||||
|
||||
var node = waitFor BeaconNode.init(config)
|
||||
|
Loading…
x
Reference in New Issue
Block a user