chore: add version to logs at startup

This commit is contained in:
alrevuelta 2022-11-18 11:59:35 +01:00
parent 52bf63a657
commit 80eca40bc3

View File

@ -905,6 +905,7 @@ proc start*(node: WakuNode) {.async.} =
## all its mounted protocols.
waku_version.set(1, labelValues=[git_version])
info "Starting Waku node", version=git_version
let peerInfo = node.switch.peerInfo
info "PeerInfo", peerId = peerInfo.peerId, addrs = peerInfo.addrs