From a8d3420a77b8a42ac802f9b73d7a72edfbd08e26 Mon Sep 17 00:00:00 2001 From: Julia Beliaeva Date: Fri, 9 Sep 2016 19:16:08 +0300 Subject: [PATCH] [vcs-log] debug logging while indexes --- .../vcs/log/data/index/VcsLogPersistentIndex.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/platform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogPersistentIndex.java b/platform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogPersistentIndex.java index b54840d1c9fc..108fcc684a7e 100644 --- a/platform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogPersistentIndex.java +++ b/platform/vcs-log/impl/src/com/intellij/vcs/log/data/index/VcsLogPersistentIndex.java @@ -397,7 +397,7 @@ public class VcsLogPersistentIndex implements VcsLogIndex, Disposable { long time = System.currentTimeMillis(); CommitsCounter counter = new CommitsCounter(indicator, myCommits.values().stream().mapToInt(TIntHashSet::size).sum()); - LOG.info("Indexing " + counter.allCommits + " commits"); + LOG.debug("Indexing " + counter.allCommits + " commits"); for (VirtualFile root : myCommits.keySet()) { try { @@ -413,11 +413,11 @@ public class VcsLogPersistentIndex implements VcsLogIndex, Disposable { } } - LOG.info(StopWatch.formatTime(System.currentTimeMillis() - time) + - " for indexing " + - counter.newIndexedCommits + - " new commits out of " + - counter.allCommits); + LOG.debug(StopWatch.formatTime(System.currentTimeMillis() - time) + + " for indexing " + + counter.newIndexedCommits + + " new commits out of " + + counter.allCommits); int leftCommits = counter.allCommits - counter.newIndexedCommits - counter.oldCommits; if (leftCommits > 0) { LOG.warn("Did not index " + leftCommits + " commits");