From 8b7f810bb8bf8d3632b988b2845c1a666e972f12 Mon Sep 17 00:00:00 2001 From: rithu john Date: Tue, 13 Dec 2016 14:26:08 -0800 Subject: [PATCH] cmd/dex: modify error messages to info messages. --- cmd/dex/serve.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/dex/serve.go b/cmd/dex/serve.go index b6fba3af..1f9fcbaf 100644 --- a/cmd/dex/serve.go +++ b/cmd/dex/serve.go @@ -181,19 +181,19 @@ func serve(cmd *cobra.Command, args []string) error { } errc := make(chan error, 3) if c.Web.HTTP != "" { - logger.Errorf("listening (http) on %s", c.Web.HTTP) + logger.Infof("listening (http) on %s", c.Web.HTTP) go func() { errc <- http.ListenAndServe(c.Web.HTTP, serv) }() } if c.Web.HTTPS != "" { - logger.Errorf("listening (https) on %s", c.Web.HTTPS) + logger.Infof("listening (https) on %s", c.Web.HTTPS) go func() { errc <- http.ListenAndServeTLS(c.Web.HTTPS, c.Web.TLSCert, c.Web.TLSKey, serv) }() } if c.GRPC.Addr != "" { - logger.Errorf("listening (grpc) on %s", c.GRPC.Addr) + logger.Infof("listening (grpc) on %s", c.GRPC.Addr) go func() { errc <- func() error { list, err := net.Listen("tcp", c.GRPC.Addr)