From 2deed3a2eb91f968a2fa7596cf0a6a9918ae27da Mon Sep 17 00:00:00 2001 From: Diptanu Choudhury Date: Wed, 18 Nov 2015 10:32:31 -0800 Subject: [PATCH] Added a log line to indicate we are registering a service with Consul --- client/consul.go | 1 + 1 file changed, 1 insertion(+) diff --git a/client/consul.go b/client/consul.go index 2bb194af3..b3fdfe6c1 100644 --- a/client/consul.go +++ b/client/consul.go @@ -51,6 +51,7 @@ func NewConsulClient(logger *log.Logger, consulAddr string) (*ConsulClient, erro func (c *ConsulClient) Register(task *structs.Task, allocID string) error { var mErr multierror.Error for _, service := range task.Services { + c.logger.Printf("[INFO] Registering service %s with Consul.", service.Name) if err := c.registerService(service, task, allocID); err != nil { mErr.Errors = append(mErr.Errors, err) }