chore: add version to logs at startup

This commit is contained in:
alrevuelta 2022-11-18 11:59:35 +01:00
parent f89e6869cb
commit bd5046f466
No known key found for this signature in database
GPG Key ID: F345C9F3CCDB886E
1 changed files with 1 additions and 0 deletions

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