From 94748e3c4a2b4deec6800189faa9b8b982952167 Mon Sep 17 00:00:00 2001 From: Justin Hammond Date: Fri, 20 Sep 2024 05:54:36 -0500 Subject: [PATCH] Changing connection pool refresh log level to info Maxim said it was warning for testing/rollout and can be downgraded to info --- grpcconn/grpcconn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grpcconn/grpcconn.go b/grpcconn/grpcconn.go index 86446df..a1429d1 100644 --- a/grpcconn/grpcconn.go +++ b/grpcconn/grpcconn.go @@ -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