@@ -44,20 +44,20 @@ public void initialize() {
4444 public String getActiveServingUrl (final DataStoreRequest request )
4545 throws IOException
4646 {
47- logger .info ("Processing request: " +request );
47+ logger .debug ("Processing request: " +request );
4848 DataStoreConnection connection = knownServices .getOrDefault (request , null );
4949
5050 //a "dying" connection? (an existing connection that is about to timeout soon)
5151 if (connection != null && connection .willServerCloseAfter (uncertaintyWindowMiliSeconds ))
5252 {
53- logger .info (" - not using expired connection " +connection );
53+ logger .debug (" - not using expired connection " +connection );
5454 knownServices .remove (request );
5555 connection = null ;
5656 }
5757
5858 //shall we open a new connection?
5959 if (connection == null ) {
60- logger .info (" - requesting a brand new connection" );
60+ logger .debug (" - requesting a brand new connection" );
6161
6262 connection = new DataStoreConnection (
6363 requestService ( request .createRequestURL () ), request .getTimeout () );
@@ -70,7 +70,7 @@ public String getActiveServingUrl(final DataStoreRequest request)
7070
7171 //hypothetically "reset" the timeout of the service
7272 connection .serverIsUsedNow ();
73- logger .info (" - updated connection expiry time for " +connection );
73+ logger .debug (" - updated connection expiry time for " +connection );
7474
7575 return connection .datasetServerURL ;
7676 }
@@ -82,7 +82,7 @@ public void proneInactiveServices()
8282 final long criticalTime = System .currentTimeMillis () + uncertaintyWindowMiliSeconds ;
8383 knownServices .entrySet ().removeIf (e -> e .getValue ().timeWhenServerCloses () < criticalTime );
8484
85- logger .info ("removed " +(origSize -knownServices .size ())+" expired connections" );
85+ logger .debug ("removed " +(origSize -knownServices .size ())+" expired connections" );
8686 }
8787
8888 public void serverIsUsedNow (final DataStoreRequest request )
0 commit comments