git » dnss » commit bffb197

Use Infof instead of Errorf for normal messages

author Alberto Bertogli
2015-09-13 10:51:43 UTC
committer Alberto Bertogli
2015-09-13 10:52:18 UTC
parent a0f297f32b41c46bc6c6a7cc19bc9e8a232c564e

Use Infof instead of Errorf for normal messages

grpctodns/grpctodns.go +2 -2

diff --git a/grpctodns/grpctodns.go b/grpctodns/grpctodns.go
index 57004d1..4b9cfb6 100644
--- a/grpctodns/grpctodns.go
+++ b/grpctodns/grpctodns.go
@@ -105,7 +105,7 @@ func (s *Server) ListenAndServe() {
 	grpcServer := grpc.NewServer(grpc.Creds(ta))
 	pb.RegisterDNSServiceServer(grpcServer, s)
 
-	glog.Errorf("GRPC listening on %s", s.Addr)
+	glog.Infof("GRPC listening on %s", s.Addr)
 	err = grpcServer.Serve(lis)
-	glog.Errorf("GRPC exiting: %s", err)
+	glog.Infof("GRPC exiting: %s", err)
 }