Skip to content

Commit b20747d

Browse files
Vladimir Kotalahornace
authored andcommitted
add log before store renamed files' history
1 parent 77ba40e commit b20747d

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
@@ -537,6 +537,8 @@ public void storeRenamed(Set<String> renamedFiles, Repository repository, String
537537

538538
renamedFiles = renamedFiles.stream().filter(f -> new File(env.getSourceRootPath() + f).exists()).
539539
collect(Collectors.toSet());
540+
LOGGER.log(Level.FINE, "Storing history for {0} renamed files in repository ''{1}''",
541+
new Object[]{renamedFiles.size(), repository.getDirectoryName()});
540542

541543
// The directories for the renamed files have to be created before
542544
// the actual files otherwise storeFile() might be racing for

0 commit comments

Comments
 (0)