Logging drive-by

This commit is contained in:
David Robertson 2023-08-09 11:35:18 +01:00
parent d659824edf
commit 2d6777850f
No known key found for this signature in database
GPG Key ID: 903ECE108A39DEDD

View File

@ -570,7 +570,7 @@ func (p *poller) poll(ctx context.Context, s *pollLoopState) error {
}
}
if s.since == "" {
p.logger.Info().Msg("Poller: valid initial sync response received")
p.logger.Info().Str("user_id", p.userID).Str("device_id", p.deviceID).Msg("Poller: valid initial sync response received")
}
p.initialToDeviceOnly = false
start = time.Now()