Skip to content

Commit

Permalink
Changing connection pool refresh log level to info
Browse files Browse the repository at this point in the history
Maxim said it was warning for testing/rollout and can be downgraded to info
  • Loading branch information
roaet committed Sep 20, 2024
1 parent f08144a commit 94748e3
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 94748e3

Please sign in to comment.