Strabon

changeset 758:48d69ad7aa81

removed printing of connection details in Strabon Endpoint when connection establishes successfully
author Babis Nikolaou <charnik@di.uoa.gr>
date Thu Nov 29 20:26:19 2012 +0200 (2012-11-29)
parents 95890f06cdd4
children 647131f2ba9e
files endpoint/src/main/java/eu/earthobservatory/org/StrabonEndpoint/StrabonBeanWrapper.java
line diff
     1.1 --- a/endpoint/src/main/java/eu/earthobservatory/org/StrabonEndpoint/StrabonBeanWrapper.java	Thu Nov 29 20:15:03 2012 +0200
     1.2 +++ b/endpoint/src/main/java/eu/earthobservatory/org/StrabonEndpoint/StrabonBeanWrapper.java	Thu Nov 29 20:26:19 2012 +0200
     1.3 @@ -132,7 +132,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] Connection details:\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 (Common.DBBACKEND_MONETDB.equalsIgnoreCase(dbBackend)) {
    1.12 @@ -150,7 +150,7 @@
    1.13  				
    1.14  				
    1.15  			} catch (Exception e) {
    1.16 -				logger.error("[StrabonEndpoint] Exception occured while creating Strabon.\n" + this.getDetails(), e);
    1.17 +				logger.error("[StrabonEndpoint] Exception occured while creating Strabon. {}\n{}", e.getMessage(), this.getDetails());
    1.18  				return false;
    1.19  			}
    1.20  		}