Skip to content

Commit a81e5d2

Browse files
authored
Merge pull request #668 from gjmwoods/4.0-modify-logging-level
reduce logging of routing table refreshing
2 parents bf36014 + 13a6de9 commit a81e5d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

driver/src/main/java/org/neo4j/driver/internal/cluster/RoutingTableHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ synchronized CompletionStage<RoutingTable> refreshRoutingTable( ConnectionContex
7878
else if ( routingTable.isStaleFor( context.mode() ) )
7979
{
8080
// existing routing table is not fresh and should be updated
81-
log.info( "Routing table for database '%s' is stale. %s", databaseName.description(), routingTable );
81+
log.debug( "Routing table for database '%s' is stale. %s", databaseName.description(), routingTable );
8282

8383
CompletableFuture<RoutingTable> resultFuture = new CompletableFuture<>();
8484
refreshRoutingTableFuture = resultFuture;
@@ -114,7 +114,7 @@ private synchronized void freshClusterCompositionFetched( ClusterComposition com
114114
routingTableRegistry.removeAged();
115115
connectionPool.retainAll( routingTableRegistry.allServers() );
116116

117-
log.info( "Updated routing table for database '%s'. %s", databaseName.description(), routingTable );
117+
log.debug( "Updated routing table for database '%s'. %s", databaseName.description(), routingTable );
118118

119119
CompletableFuture<RoutingTable> routingTableFuture = refreshRoutingTableFuture;
120120
refreshRoutingTableFuture = null;

0 commit comments

Comments
 (0)