lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gcha...@apache.org
Subject svn commit: r1692309 - /lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/ConfigSetProperties.java
Date Wed, 22 Jul 2015 18:18:55 GMT
Author: gchanan
Date: Wed Jul 22 18:18:54 2015
New Revision: 1692309

URL: http://svn.apache.org/r1692309
Log:
SOLR-7742: Avoid stacktrace in info logging

Modified:
    lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/ConfigSetProperties.java

Modified: lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/ConfigSetProperties.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/ConfigSetProperties.java?rev=1692309&r1=1692308&r2=1692309&view=diff
==============================================================================
--- lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/ConfigSetProperties.java (original)
+++ lucene/dev/trunk/solr/core/src/java/org/apache/solr/core/ConfigSetProperties.java Wed
Jul 22 18:18:54 2015
@@ -48,7 +48,7 @@ public class ConfigSetProperties {
     try {
       reader = new InputStreamReader(loader.openResource(name), StandardCharsets.UTF_8);
     } catch (SolrResourceNotFoundException ex) {
-      log.info("Did not find ConfigSet properties", ex);
+      log.info("Did not find ConfigSet properties, assuming default properties: " + ex.getMessage());
       return null;
     } catch (Exception ex) {
       throw new SolrException(ErrorCode.SERVER_ERROR, "Unable to load reader for ConfigSet
properties: " + name, ex);



Mime
View raw message