Dump newly created indices with LOG.debug (IDEA-217462)

Complete list of indices being built is needed quite rarely.

GitOrigin-RevId: c0e218f04c829a5076a493df92aa4a400d85673c
This commit is contained in:
Maxim.Mossienko
2019-07-03 18:50:15 +03:00
committed by intellij-monorepo-bot
parent 8554717972
commit 253a4ab763
2 changed files with 2 additions and 2 deletions
@@ -112,7 +112,7 @@ public class StubIndexImpl extends StubIndex implements PersistentStateComponent
if (needRebuild) {
LOG.info("Version has changed for stub index " + extension.getKey() + ". The index will be rebuilt.");
} else {
LOG.info("Stub index " + indexKey + " will be built.");
LOG.debug("Stub index " + indexKey + " will be built.");
}
if (indexRootHasChildren) FileUtil.deleteWithRenaming(indexRootDir);
IndexingStamp.rewriteVersion(indexKey, version); // todo snapshots indices
@@ -346,7 +346,7 @@ public final class FileBasedIndexImpl extends FileBasedIndex implements Disposab
versionChanged = true;
LOG.info("Version has changed for index " + name + ". The index will be rebuilt.");
} else {
LOG.info("Index " + name + " will be built.");
LOG.debug("Index " + name + " will be built.");
}
if (extension.hasSnapshotMapping() && versionChanged) {
FileUtil.deleteWithRenaming(IndexInfrastructure.getPersistentIndexRootDir(name));