mirror of
https://github.com/status-im/consul.git
synced 2025-01-10 22:06:20 +00:00
Add service id context to the proxycfg logger
This is especially useful when multiple proxies are all querying the same Consul agent.
This commit is contained in:
parent
79468793f6
commit
9d9e23cc44
@ -188,7 +188,7 @@ func (m *Manager) ensureProxyServiceLocked(ns *structs.NodeService, token string
|
||||
}
|
||||
|
||||
// Set the necessary dependencies
|
||||
state.logger = m.Logger
|
||||
state.logger = m.Logger.With("service_id", sid.String())
|
||||
state.cache = m.Cache
|
||||
state.source = m.Source
|
||||
state.dnsConfig = m.DNSConfig
|
||||
|
Loading…
x
Reference in New Issue
Block a user