Skip to content

Commit 05ea510

Browse files
committed
chore(discovery): log remote pairing check details at debug level
Record identifier, service, ip and port when a remote pairing check starts so failed or superseded checks can be traced from debug logs.
1 parent c3181e8 commit 05ea510

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎internal/manager/device_manager.go‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,7 @@ func (dm *DeviceManager) checkRemotePairingAsync(ctx context.Context, identifier
187187
dm.pairingMu.Unlock()
188188
defer dm.finishPairingCheck(identifier, check)
189189

190+
log.Debugf("pairing check started: identifier=%s service=%s ip=%s port=%d", identifier, serviceName, ip, port)
190191
v, err := dm.CheckDevicePairedContext(checkCtx, identifier, authTag)
191192
if err != nil || v == nil {
192193
return

0 commit comments

Comments
 (0)
⌂ 换网址