diff --git a/consul/discovery.go b/consul/discovery.go index 5d77abe..eeae311 100644 --- a/consul/discovery.go +++ b/consul/discovery.go @@ -46,6 +46,7 @@ func NewService(servAddr, id, name, useDomainOverIp, addr, domain, pathPrefix st if useDomainOverIp == "true" { // FIXME types... s.Address = domain } + log.Printf("Init consul with server addr: %s", s.Address) client, err := consul.NewClient(newClientConfig(servAddr)) if err != nil {