Update of /var/cvs/src/org/mmbase/cache
In directory james.mmbase.org:/tmp/cvs-serv22903
Modified Files:
CacheManager.java
Log Message:
Just added some logging
See also: http://cvs.mmbase.org/viewcvs/src/org/mmbase/cache
Index: CacheManager.java
===================================================================
RCS file: /var/cvs/src/org/mmbase/cache/CacheManager.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- CacheManager.java 19 Mar 2008 15:32:40 -0000 1.25
+++ CacheManager.java 12 Apr 2008 13:15:23 -0000 1.26
@@ -24,7 +24,7 @@
* Cache manager manages the static methods of [EMAIL PROTECTED] Cache}. If
you prefer you can call them on this in stead.
*
* @since MMBase-1.8
- * @version $Id: CacheManager.java,v 1.25 2008/03/19 15:32:40 michiel Exp $
+ * @version $Id: CacheManager.java,v 1.26 2008/04/12 13:15:23 michiel Exp $
*/
public class CacheManager {
@@ -203,7 +203,9 @@
private static ResourceWatcher configWatcher = new ResourceWatcher () {
public void onChange(String resource) {
try {
- configReader = new
DocumentReader(ResourceLoader.getConfigurationRoot().getInputSource(resource),
Cache.class);
+ org.xml.sax.InputSource is =
ResourceLoader.getConfigurationRoot().getInputSource(resource);
+ log.service("Reading " + is.getSystemId());
+ configReader = new DocumentReader(is, Cache.class);
} catch (Exception e) {
log.error(e);
return;
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs