TUN-6499: Remove log that is per datagram
This commit is contained in:
parent
d2cb803336
commit
f3ba506880
|
@ -39,7 +39,6 @@ func (dm *DatagramMuxer) SendTo(sessionID uuid.UUID, payload []byte) error {
|
||||||
if err := dm.session.SendMessage(msgWithID); err != nil {
|
if err := dm.session.SendMessage(msgWithID); err != nil {
|
||||||
return errors.Wrap(err, "Failed to send datagram back to edge")
|
return errors.Wrap(err, "Failed to send datagram back to edge")
|
||||||
}
|
}
|
||||||
dm.logger.Debug().Str("sessionID", sessionID.String()).Int("bytes", len(payload)).Msg("Send datagram back to edge")
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,7 +54,6 @@ func (dm *DatagramMuxer) ReceiveFrom() (uuid.UUID, []byte, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return uuid.Nil, nil, err
|
return uuid.Nil, nil, err
|
||||||
}
|
}
|
||||||
dm.logger.Debug().Str("sessionID", sessionID.String()).Int("bytes", len(payload)).Msg("Received datagram from edge")
|
|
||||||
return sessionID, payload, nil
|
return sessionID, payload, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue