Skip to content

Commit a70fb84

Browse files
authored
Merge pull request #667 from gjmwoods/modify-logging-level
reduce logging of routing table refreshing
2 parents 0f74b0b + 4f7622d commit a70fb84

File tree

1 file changed

+2
-2
lines changed
  • driver/src/main/java/org/neo4j/driver/internal/cluster/loadbalancing

1 file changed

+2
-2
lines changed

driver/src/main/java/org/neo4j/driver/internal/cluster/loadbalancing/LoadBalancer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ private synchronized CompletionStage<RoutingTable> freshRoutingTable( AccessMode
141141
else if ( routingTable.isStaleFor( mode ) )
142142
{
143143
// existing routing table is not fresh and should be updated
144-
log.info( "Routing table is stale. %s", routingTable );
144+
log.debug( "Routing table is stale. %s", routingTable );
145145

146146
CompletableFuture<RoutingTable> resultFuture = new CompletableFuture<>();
147147
refreshRoutingTableFuture = resultFuture;
@@ -176,7 +176,7 @@ private synchronized void freshClusterCompositionFetched( ClusterComposition com
176176
routingTable.update( composition );
177177
connectionPool.retainAll( routingTable.servers() );
178178

179-
log.info( "Updated routing table. %s", routingTable );
179+
log.debug( "Updated routing table. %s", routingTable );
180180

181181
CompletableFuture<RoutingTable> routingTableFuture = refreshRoutingTableFuture;
182182
refreshRoutingTableFuture = null;

0 commit comments

Comments
 (0)