Make Service logger log to right place again

This commit is contained in:
Paul Banks 2018-05-12 23:37:44 +01:00 committed by Mitchell Hashimoto
parent 0bfffc92f2
commit f6673ce164
No known key found for this signature in database
GPG Key ID: 744E147AA52F5B0A
1 changed files with 2 additions and 1 deletions

View File

@ -80,7 +80,8 @@ func (p *Proxy) Serve() error {
// Initial setup
// 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 {
return err
}