diff --git a/discovery/consul/consul.go b/discovery/consul/consul.go index 0aef808d5d..d07db78675 100644 --- a/discovery/consul/consul.go +++ b/discovery/consul/consul.go @@ -297,6 +297,7 @@ func (d *Discovery) getDatacenter() error { } d.clientDatacenter = dc + d.logger = log.With(d.logger, "datacenter", dc) return nil }