From 253a4ab763c3a2153312595e9b2e971555484b7f Mon Sep 17 00:00:00 2001 From: "Maxim.Mossienko" Date: Wed, 3 Jul 2019 17:18:15 +0200 Subject: [PATCH] Dump newly created indices with LOG.debug (IDEA-217462) Complete list of indices being built is needed quite rarely. GitOrigin-RevId: c0e218f04c829a5076a493df92aa4a400d85673c --- .../lang-impl/src/com/intellij/psi/stubs/StubIndexImpl.java | 2 +- .../src/com/intellij/util/indexing/FileBasedIndexImpl.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/lang-impl/src/com/intellij/psi/stubs/StubIndexImpl.java b/platform/lang-impl/src/com/intellij/psi/stubs/StubIndexImpl.java index bada0cfbd0c5..929bd8effdeb 100644 --- a/platform/lang-impl/src/com/intellij/psi/stubs/StubIndexImpl.java +++ b/platform/lang-impl/src/com/intellij/psi/stubs/StubIndexImpl.java @@ -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 diff --git a/platform/lang-impl/src/com/intellij/util/indexing/FileBasedIndexImpl.java b/platform/lang-impl/src/com/intellij/util/indexing/FileBasedIndexImpl.java index 8d99bc2165b8..4d5af6983d67 100644 --- a/platform/lang-impl/src/com/intellij/util/indexing/FileBasedIndexImpl.java +++ b/platform/lang-impl/src/com/intellij/util/indexing/FileBasedIndexImpl.java @@ -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));