Author: rgardler
Date: Mon Nov 21 15:43:59 2005
New Revision: 348027
URL: http://svn.apache.org/viewcvs?rev=348027&view=rev
Log:
display result when logging cache usage
Modified:
forrest/trunk/main/java/org/apache/forrest/locationmap/LocationMapModule.java
Modified:
forrest/trunk/main/java/org/apache/forrest/locationmap/LocationMapModule.java
URL:
http://svn.apache.org/viewcvs/forrest/trunk/main/java/org/apache/forrest/locationmap/LocationMapModule.java?rev=348027&r1=348026&r2=348027&view=diff
==============================================================================
---
forrest/trunk/main/java/org/apache/forrest/locationmap/LocationMapModule.java
(original)
+++
forrest/trunk/main/java/org/apache/forrest/locationmap/LocationMapModule.java
Mon Nov 21 15:43:59 2005
@@ -172,7 +172,7 @@
if (hasBeenCached == true) {
result = m_locationsCache.get(name);
if (getLogger().isDebugEnabled()) {
- getLogger().debug("Locationmap cached
location returned for hint: " + name);
+ getLogger().debug("Locationmap cached
location returned for hint: " + name + " value: " + result);
}
}
}
@@ -183,7 +183,7 @@
if (m_cacheAll == true) {
m_locationsCache.put(name,result);
if (getLogger().isDebugEnabled()) {
- getLogger().debug("Locationmap caching
hint: " + name);
+ getLogger().debug("Locationmap caching
hint: " + name + " value: " + result);
}
}
}