Apache Solr open-source search software
SOLR-7742: Avoid stacktrace in info logging
Gregory Chanand50f1e3703bb
diff --git a/solr/core/src/java/org/apache/solr/core/ConfigSetProperties.java b/solr/core/src/java/org/apache/solr/core/ConfigSetProperties.javaindex c5c09c57053..8b01fa875cf 100644--- a/solr/core/src/java/org/apache/solr/core/ConfigSetProperties.java+++ b/solr/core/src/java/org/apache/solr/core/ConfigSetProperties.java@@ -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);