strip broker address

This commit is contained in:
Asim Aslam 2019-07-07 12:33:47 +01:00 committed by Vasiliy Tolstov
parent 246f5c3dd5
commit b3f501e789

View File

@ -714,7 +714,10 @@ func (g *grpcServer) Start() error {
return err return err
} }
log.Logf("Broker [%s] Listening on %s", config.Broker.String(), config.Broker.Address()) baddr := strings.Join(config.Broker.Options().Addrs, ",")
bname := config.Broker.String()
log.Logf("Broker [%s] Listening on %s", bname, baddr)
// announce self to the world // announce self to the world
if err := g.Register(); err != nil { if err := g.Register(); err != nil {