Strabon

changeset 254:dc8fa496e733

fix logging output in StrabonBeanWrapper
author Babis Nikolaou <charnik@di.uoa.gr>
date Tue Jun 05 16:57:37 2012 +0300 (2012-06-05)
parents 9506ccf3b545
children 4d7431f4f012
files endpoint/src/main/java/eu/earthobservatory/org/StrabonEndpoint/StrabonBeanWrapper.java runtime/src/main/java/eu/earthobservatory/runtime/postgis/Strabon.java
line diff
     1.1 --- a/endpoint/src/main/java/eu/earthobservatory/org/StrabonEndpoint/StrabonBeanWrapper.java	Tue Jun 05 09:59:12 2012 +0300
     1.2 +++ b/endpoint/src/main/java/eu/earthobservatory/org/StrabonEndpoint/StrabonBeanWrapper.java	Tue Jun 05 16:57:37 2012 +0300
     1.3 @@ -140,7 +140,7 @@
     1.4  			try {
     1.5  				logger.warn("[StrabonEndpoint] Strabon not initialized yet.");
     1.6  				logger.warn("[StrabonEndpoint] Initializing Strabon.");
     1.7 -				logger.info("[StrabonEndpoint]\n" + this.getDetails());
     1.8 +				logger.info("[StrabonEndpoint] Connection details:\n" + this.getDetails());
     1.9  				
    1.10  				// initialize Strabon according to user preference
    1.11  				if (DBBACKEND_MONETDB.equalsIgnoreCase(dbBackend)) {
    1.12 @@ -255,7 +255,6 @@
    1.13  
    1.14  	private String getDetails() {
    1.15  		String details = "-----------------------------------------\n";
    1.16 -		details += "Connection details:\n";
    1.17  		details += "host     : " + serverName + "\n";
    1.18  		details += "port     : " + port + "\n";
    1.19  		details += "database : " + databaseName + "\n";
     2.1 --- a/runtime/src/main/java/eu/earthobservatory/runtime/postgis/Strabon.java	Tue Jun 05 09:59:12 2012 +0300
     2.2 +++ b/runtime/src/main/java/eu/earthobservatory/runtime/postgis/Strabon.java	Tue Jun 05 16:57:37 2012 +0300
     2.3 @@ -28,7 +28,7 @@
     2.4  		postGIS_store.setPassword(password);
     2.5  		postGIS_store.setPortNumber(port);
     2.6  		postGIS_store.setServerName(serverName);
     2.7 -		postGIS_store.setMaxNumberOfTripleTables(2048);
     2.8 +		postGIS_store.setMaxNumberOfTripleTables(1);
     2.9  		init();
    2.10  		logger.info("[Strabon] Initialization completed.");
    2.11  	}