[exo-jcr-commits] exo-jcr SVN: r5667 - kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container.
do-not-reply at jboss.org
do-not-reply at jboss.org
Mon Feb 20 06:58:54 EST 2012
Author: andrew.plotnikov
Date: 2012-02-20 06:58:54 -0500 (Mon, 20 Feb 2012)
New Revision: 5667
Modified:
kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/PropertyConfigurator.java
Log:
EXOJCR-1768: Fixed wrong debug logging in PropertyConfigurator
Modified: kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/PropertyConfigurator.java
===================================================================
--- kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/PropertyConfigurator.java 2012-02-17 16:49:02 UTC (rev 5666)
+++ kernel/trunk/exo.kernel.container/src/main/java/org/exoplatform/container/PropertyConfigurator.java 2012-02-20 11:58:54 UTC (rev 5667)
@@ -88,8 +88,11 @@
ValueParam pathParam = params.getValueParam("properties.url");
if (pathParam != null)
{
- LOG.debug("Using file path " + path + " found from configuration");
path = pathParam.getValue();
+ if (LOG.isDebugEnabled())
+ {
+ LOG.debug("Using file path " + path + " found from configuration");
+ }
}
}
@@ -97,8 +100,11 @@
String systemPath = PropertyManager.getProperty(PropertyManager.PROPERTIES_URL);
if (systemPath != null)
{
- LOG.debug("Using file path " + path + " found from system properties");
path = systemPath;
+ if (LOG.isDebugEnabled())
+ {
+ LOG.debug("Using file path " + path + " found from system properties");
+ }
}
//
More information about the exo-jcr-commits
mailing list