mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
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:
committed by
intellij-monorepo-bot
parent
8554717972
commit
253a4ab763
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user