[relay-client] Log exposed address (#2771)

* Log exposed address
This commit is contained in:
Zoltan Papp 2024-10-23 18:32:27 +02:00 committed by GitHub
parent 563dca705c
commit 44f2ce666e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -184,12 +184,14 @@ func (c *Client) Connect() error {
return err return err
} }
c.log = c.log.WithField("relay", c.instanceURL.String())
c.log.Infof("relay connection established")
c.serviceIsRunning = true c.serviceIsRunning = true
c.wgReadLoop.Add(1) c.wgReadLoop.Add(1)
go c.readLoop(c.relayConn) go c.readLoop(c.relayConn)
c.log.Infof("relay connection established")
return nil return nil
} }