From 8fc17147efe02f4d85578e37abc366d430903fe2 Mon Sep 17 00:00:00 2001 From: Barak Michener Date: Fri, 19 Dec 2014 16:40:29 -0500 Subject: [PATCH] change logging --- etcdmain/etcd.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etcdmain/etcd.go b/etcdmain/etcd.go index 1c75286a7..1b8eec71c 100644 --- a/etcdmain/etcd.go +++ b/etcdmain/etcd.go @@ -458,7 +458,7 @@ func genDNSClusterString(defaultToken string, apurls types.URLs) (string, string for _, url := range apurls { tcpAddr, err := net.ResolveTCPAddr("tcp", url.Host) if err != nil { - log.Printf("etcd: Couldn't resolve host %s", url.Host) + log.Printf("etcd: Couldn't resolve host %s during SRV discovery", url.Host) return "", "", err } tcpAPUrls = append(tcpAPUrls, tcpAddr.String()) @@ -473,7 +473,7 @@ func genDNSClusterString(defaultToken string, apurls types.URLs) (string, string host := net.JoinHostPort(srv.Target, fmt.Sprintf("%d", srv.Port)) tcpAddr, err := net.ResolveTCPAddr("tcp", host) if err != nil { - log.Printf("etcd: Couldn't resolve host %s", host) + log.Printf("etcd: Couldn't resolve host %s during SRV discovery", host) continue } n := ""