SOLR-3899: SolrCore should not log at warning level when the index directory changes - it's an info event.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1391023 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2012-09-27 14:18:47 +00:00
parent 0d21b90097
commit 4265df1368
2 changed files with 4 additions and 1 deletions

View File

@ -60,6 +60,9 @@ Bug Fixes
Other Changes
----------------------
* SOLR-3899: SolrCore should not log at warning level when the index directory
changes - it's an info event. (Tobias Bergman, Mark Miller)
================== 4.0.0 ==================
Versions of Major Components

View File

@ -248,7 +248,7 @@ public final class SolrCore implements SolrInfoMBean {
}
}
if (!result.equals(lastNewIndexDir)) {
log.warn("New index directory detected: old="+lastNewIndexDir + " new=" + result);
log.info("New index directory detected: old="+lastNewIndexDir + " new=" + result);
}
lastNewIndexDir = result;
return result;