mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-02-14 10:53:13 +00:00
chore: log config once preset is applied to show final values
This commit is contained in:
parent
d9c6d77295
commit
3dc0a821c8
@ -90,7 +90,6 @@ func version*(waku: Waku): string =
|
||||
proc init*(T: type Waku, srcConf: WakuNodeConf): Result[Waku, string] =
|
||||
let rng = crypto.newRng()
|
||||
|
||||
logConfig(srcConf)
|
||||
logging.setupLog(srcConf.logLevel, srcConf.logFormat)
|
||||
|
||||
# Why can't I replace this block with a concise `.valueOr`?
|
||||
@ -101,6 +100,8 @@ proc init*(T: type Waku, srcConf: WakuNodeConf): Result[Waku, string] =
|
||||
return err("Failed to complete the config:" & $res.error)
|
||||
res.get()
|
||||
|
||||
logConfig(finalConf)
|
||||
|
||||
info "Running nwaku node", version = git_version
|
||||
|
||||
debug "Retrieve dynamic bootstrap nodes"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user