Show node ID/name/address mapping at startup (ref #249)

This commit is contained in:
Jakob Borg 2014-05-24 21:39:08 +02:00
parent c2f75d3689
commit c27861cbaf
1 changed files with 6 additions and 0 deletions

View File

@ -361,6 +361,12 @@ func main() {
defer pprof.StopCPUProfile()
}
for _, node := range cfg.Nodes {
if len(node.Name) > 0 {
l.Infof("Node %s is %q at %v", node.NodeID, node.Name, node.Addresses)
}
}
<-stop
l.Okln("Exiting")
}