trivial: log "connection to node failed" at DEBUG level (#1064)

instead of ERROR, because errors contacting other nodes in the network
are entirely normal and expected, and they don't need urgent attention.
This commit is contained in:
paul cannon 2019-01-16 13:01:59 -05:00 committed by GitHub
parent a7d3a8ded7
commit b3713b7d92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -40,7 +40,7 @@ func (server *Server) Query(ctx context.Context, req *pb.QueryRequest) (*pb.Quer
if err != nil {
server.log.Error("could not respond to connection failed", zap.Error(err))
}
server.log.Error("connection to node failed", zap.Error(err), zap.String("nodeID", req.Sender.Id.String()))
server.log.Debug("connection to node failed", zap.Error(err), zap.String("nodeID", req.Sender.Id.String()))
}
err = rt.ConnectionSuccess(req.Sender)