mirror of https://github.com/status-im/consul.git
Make Service logger log to right place again
This commit is contained in:
parent
0bfffc92f2
commit
f6673ce164
|
@ -80,7 +80,8 @@ func (p *Proxy) Serve() error {
|
||||||
// Initial setup
|
// Initial setup
|
||||||
|
|
||||||
// Setup Service instance now we know target ID etc
|
// Setup Service instance now we know target ID etc
|
||||||
service, err := connect.NewService(newCfg.ProxiedServiceID, p.client)
|
service, err := connect.NewServiceWithLogger(newCfg.ProxiedServiceID,
|
||||||
|
p.client, p.logger)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue