Commits

Sebastian Sdorra committed 3db58c7

improve logging

Comments (0)

Files changed (1)

scm-webapp/src/main/java/sonia/scm/cache/GuavaCacheConfigurationReader.java

  */
 
 
+
 package sonia.scm.cache;
 
 //~--- non-JDK imports --------------------------------------------------------
 
     Iterator<URL> it = loader.getModuleResources();
 
+    if (!it.hasNext())
+    {
+      logger.debug("no module configuration found");
+    }
+
     while (it.hasNext())
     {
       GuavaCacheManagerConfiguration moduleConfig =
   private GuavaCacheManagerConfiguration readConfiguration(URL url,
     boolean fail)
   {
+    logger.debug("read cache configuration from {}", url);
+
     GuavaCacheManagerConfiguration config = null;
 
     try