[bootnode] fix local/jenkins test after using zerolog

Signed-off-by: Leo Chen <leo@harmony.one>
pull/1195/head^2
Leo Chen 5 years ago
parent d588ce1e4b
commit 1be0bccce1
  1. 2
      cmd/bootnode/main.go

@ -65,7 +65,7 @@ func main() {
panic(err)
}
log.Info("bootnode", "BN_MA", fmt.Sprintf("/ip4/%s/tcp/%s/p2p/%s", *ip, *port, host.GetID().Pretty()))
fmt.Printf("bootnode BN_MA=%s", fmt.Sprintf("/ip4/%s/tcp/%s/p2p/%s", *ip, *port, host.GetID().Pretty()))
if *logConn {
host.GetP2PHost().Network().Notify(utils.NewConnLogger(utils.GetLogInstance()))

Loading…
Cancel
Save