Skip to content

Commit 2897ea2

Browse files
Vladimir Kotalahornace
authored andcommitted
add long entry to see how many files are to be processed
1 parent da4e497 commit 2897ea2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/history/FileHistoryCache.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,8 @@ public void store(History history, Repository repository, String tillRevision) t
492492
* hash map entry for the file) in a file. Skip renamed files
493493
* which will be handled separately below.
494494
*/
495+
LOGGER.log(Level.FINE, "Storing history for {0} files in repository ''{1}''",
496+
new Object[]{map.entrySet().size(), repository.getDirectoryName()});
495497
final File root = env.getSourceRootFile();
496498
int fileHistoryCount = 0;
497499
for (Map.Entry<String, List<HistoryEntry>> map_entry : map.entrySet()) {

0 commit comments

Comments
 (0)