Skip to content

Commit 4c3ed06

Browse files
authoredSep 20, 2024··
Merge pull request #203 from mailgun/roaet/pool_refresh_log_level_info
Changing connection pool refresh log level to info
2 parents f08144a + 94748e3 commit 4c3ed06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎grpcconn/grpcconn.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ func (cm *ConnMgr[T]) refreshConnPool() (clock.Duration, error) {
373373
}
374374
cm.connPoolMu.Unlock()
375375
took := clock.Since(begin).Truncate(clock.Millisecond)
376-
cm.log.Warnf("Connection pool refreshed: took=%s, zone=%s, poolSize=%d, newConnCount=%d, knownServerCount=%d, crossZoneCount=%d, ttl=%s",
376+
cm.log.Infof("Connection pool refreshed: took=%s, zone=%s, poolSize=%d, newConnCount=%d, knownServerCount=%d, crossZoneCount=%d, ttl=%s",
377377
took, cm.cfg.Zone, connPoolSize, newConnCount, len(getGRPCEndpointRs.Servers), crossZoneCount, ttl)
378378
if connPoolSize < 1 {
379379
return 0, errConnPoolEmpty

0 commit comments

Comments
 (0)
Please sign in to comment.