From: <fg...@us...> - 2011-08-11 09:06:09
|
Revision: 3605 http://openutils.svn.sourceforge.net/openutils/?rev=3605&view=rev Author: fgiust Date: 2011-08-11 09:06:03 +0000 (Thu, 11 Aug 2011) Log Message: ----------- DEPLOY-6 Misleading log in EnvironmentPropertyConfigurer.java Modified Paths: -------------- trunk/openutils-deployment/src/main/java/it/openutils/deployment/spring/EnvironmentPropertyConfigurer.java Modified: trunk/openutils-deployment/src/main/java/it/openutils/deployment/spring/EnvironmentPropertyConfigurer.java =================================================================== --- trunk/openutils-deployment/src/main/java/it/openutils/deployment/spring/EnvironmentPropertyConfigurer.java 2011-08-08 13:01:07 UTC (rev 3604) +++ trunk/openutils-deployment/src/main/java/it/openutils/deployment/spring/EnvironmentPropertyConfigurer.java 2011-08-11 09:06:03 UTC (rev 3605) @@ -188,8 +188,9 @@ while (initParameters.hasMoreElements()) { String paramName = initParameters.nextElement(); - initParametersMap.put("${contextParam/" + paramName + "}", servletContext - .getInitParameter(paramName)); + initParametersMap.put( + "${contextParam/" + paramName + "}", + servletContext.getInitParameter(paramName)); } } @@ -240,7 +241,7 @@ if (propertyUrl != null) { found = true; - log.debug("Loading property file at {}", loc); + log.debug("Loading property file at {} from {}", loc, propertyUrl); Resource resource = new UrlResource(propertyUrl); InputStream is = null; @@ -274,7 +275,10 @@ break; } } - log.debug("Property file not found at {}", loc); + else + { + log.debug("Property file not found at {}", loc); + } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |