Author: remm
Date: Thu Jul 16 08:01:18 2015
New Revision: 1691329

URL: http://svn.apache.org/r1691329
Log:
Fix: Decrease log level since it isn't very useful. (the non default logs are 
probably useful, the default one isn't)

Modified:
    tomcat/trunk/java/org/apache/catalina/storeconfig/StoreLoader.java

Modified: tomcat/trunk/java/org/apache/catalina/storeconfig/StoreLoader.java
URL: 
http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/storeconfig/StoreLoader.java?rev=1691329&r1=1691328&r2=1691329&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/storeconfig/StoreLoader.java 
(original)
+++ tomcat/trunk/java/org/apache/catalina/storeconfig/StoreLoader.java Thu Jul 
16 08:01:18 2015
@@ -194,8 +194,8 @@ public class StoreLoader {
             String configUrl = getConfigUrl();
             if (configUrl != null) {
                 is = (new URL(configUrl)).openStream();
-                if (log.isDebugEnabled())
-                    log.debug("Find registry server-registry.xml from system 
property at url "
+                if (log.isInfoEnabled())
+                    log.info("Find registry server-registry.xml from system 
property at url "
                             + configUrl);
                 registryResource = new URL(configUrl);
             }
@@ -220,9 +220,8 @@ public class StoreLoader {
             try {
                 is = StoreLoader.class
                         
.getResourceAsStream("/org/apache/catalina/storeconfig/server-registry.xml");
-                if (log.isInfoEnabled())
-                    log
-                            .info("Find registry server-registry.xml at 
classpath resource");
+                if (log.isDebugEnabled())
+                    log.debug("Find registry server-registry.xml at classpath 
resource");
                 registryResource = StoreLoader.class
                     
.getResource("/org/apache/catalina/storeconfig/server-registry.xml");
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to