Skip to content

Commit

Permalink
update connection manager logging
Browse files Browse the repository at this point in the history
  • Loading branch information
postables committed May 20, 2020
1 parent 99a0561 commit 4e2a060
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion connmgr.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ func (cm *BasicConnMgr) trim() {

// do the actual trim.
for _, c := range cm.getConnsToClose() {
cm.logger.Info("closing connection", zap.String("remote.peer", c.RemotePeer().String()))
// TODO(bonedaddy): we probably dont need this since it will be used a lot and not really worth noting
// cm.logger.Info("closing connection", zap.String("remote.peer", c.RemotePeer().String()))
c.Close()
}

Expand Down

0 comments on commit 4e2a060

Please sign in to comment.