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 69b668c951
commit 957aaf69ab
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 // 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
} }