Skip to content

Commit

Permalink
Remove info logs
Browse files Browse the repository at this point in the history
Signed-off-by: Ondrej Fabry <[email protected]>
  • Loading branch information
ondrej-fabry committed Nov 15, 2024
1 parent c4a5138 commit 4ccd433
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions adapter/socketclient/socketclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,6 @@ func (c *Client) close() error {
}
setMsgRequestHeader(msg, c.clientIndex, uint32(deleteMsgContext))

log.Infof("sending socklntDel (%d bytes): % 0X", len(msg), msg)

if err := c.writeMsg(msg); err != nil {
log.Debugln("Write error: ", err)
return err
Expand All @@ -434,9 +432,8 @@ func (c *Client) close() error {
if err != nil {
var nerr net.Error
if errors.As(err, &nerr) && nerr.Timeout() {
log.Info("sockclnt_delete_reply: timeout")
// we accept timeout for reply
return nil
log.Debugf("timeout read sockclnt_delete_reply: %w", err)
return nil // we accept timeout for reply
}
log.Debugln("Read sockclnt_delete_reply error:", err)
return err
Expand Down

0 comments on commit 4ccd433

Please sign in to comment.