Skip to content

Commit

Permalink
Merge pull request #203 from mailgun/roaet/pool_refresh_log_level_info
Browse files Browse the repository at this point in the history
Changing connection pool refresh log level to info
  • Loading branch information
roaet authored Sep 20, 2024
2 parents f08144a + 94748e3 commit 4c3ed06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grpcconn/grpcconn.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ func (cm *ConnMgr[T]) refreshConnPool() (clock.Duration, error) {
}
cm.connPoolMu.Unlock()
took := clock.Since(begin).Truncate(clock.Millisecond)
cm.log.Warnf("Connection pool refreshed: took=%s, zone=%s, poolSize=%d, newConnCount=%d, knownServerCount=%d, crossZoneCount=%d, ttl=%s",
cm.log.Infof("Connection pool refreshed: took=%s, zone=%s, poolSize=%d, newConnCount=%d, knownServerCount=%d, crossZoneCount=%d, ttl=%s",
took, cm.cfg.Zone, connPoolSize, newConnCount, len(getGRPCEndpointRs.Servers), crossZoneCount, ttl)
if connPoolSize < 1 {
return 0, errConnPoolEmpty
Expand Down

0 comments on commit 4c3ed06

Please sign in to comment.