Apache Lucene open-source search software
SOLR-3358: log a warning rather then throw an exception if log watcher initialization fails
Ryan McKinley346f8830ee22
diff --git a/solr/core/src/java/org/apache/solr/core/CoreContainer.java b/solr/core/src/java/org/apache/solr/core/CoreContainer.javaindex c5c6763f964..184b704f609 100644--- a/solr/core/src/java/org/apache/solr/core/CoreContainer.java+++ b/solr/core/src/java/org/apache/solr/core/CoreContainer.java@@ -418,8 +418,8 @@ public class CoreContainertry {logging = loader.newInstance(fname, LogWatcher.class);}- catch (Exception e) {- throw new SolrException(ErrorCode.SERVER_ERROR, e);+ catch (Throwable e) {+ log.warn("Unable to load LogWatcher", e);}}