mirror of https://github.com/apache/lucene.git
SOLR-4200: Reduce INFO level logging from CachingDirectoryFactory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1453560 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d5d1603116
commit
2d0001942e
|
@ -291,6 +291,9 @@ Other Changes
|
|||
|
||||
* SOLR-4416: Upgrade to Tika 1.3. (Markus Jelsma via Mark Miller)
|
||||
|
||||
* SOLR-4200: Reduce INFO level logging from CachingDirectoryFactory
|
||||
(Shawn Heisey via hossman)
|
||||
|
||||
================== 4.1.0 ==================
|
||||
|
||||
Versions of Major Components
|
||||
|
|
|
@ -158,12 +158,11 @@ public abstract class CachingDirectoryFactory extends DirectoryFactory {
|
|||
throw new IllegalArgumentException("Unknown directory: " + directory
|
||||
+ " " + byDirectoryCache);
|
||||
}
|
||||
log.info("Releasing directory:" + cacheValue.path);
|
||||
log.debug("Releasing directory: " + cacheValue.path);
|
||||
|
||||
cacheValue.refCnt--;
|
||||
|
||||
if (cacheValue.refCnt == 0 && cacheValue.doneWithDir) {
|
||||
log.info("Closing directory:" + cacheValue.path);
|
||||
closeDirectory(cacheValue);
|
||||
|
||||
byDirectoryCache.remove(directory);
|
||||
|
|
Loading…
Reference in New Issue