adjust logs

This commit is contained in:
chrislu 2023-11-15 18:11:35 -08:00
parent 0bf67a4822
commit 17710e1ecb

View file

@ -31,7 +31,10 @@ func (broker *MessageQueueBroker) BrokerConnectToBalancer(self string) error {
}
broker.currentBalancer = pb.ServerAddress(brokerBalancer)
glog.V(1).Infof("broker %s found balancer %s", self, brokerBalancer)
glog.V(0).Infof("broker %s found balancer %s", self, brokerBalancer)
if brokerBalancer == "" {
return fmt.Errorf("no balancer found")
}
// connect to the lock owner
err = pb.WithBrokerGrpcClient(false, brokerBalancer, broker.grpcDialOption, func(client mq_pb.SeaweedMessagingClient) error {