Skip to content

Commit 303dba3

Browse files
committed
improve logging, make clear() visible for testing
1 parent 76ceaf0 commit 303dba3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ private void createCache(Repository repository, String sinceRevision) {
648648

649649
if (!repository.isHistoryEnabled()) {
650650
LOGGER.log(Level.INFO,
651-
"Skipping history cache creation of {0} repository in {1} and its subdirectories",
651+
"Skipping history cache creation of {0} repository in ''{1}'' and its subdirectories",
652652
new Object[]{type, path});
653653
return;
654654
}
@@ -700,7 +700,7 @@ private void createCacheReal(Collection<Repository> repositories) {
700700
}
701701
}
702702

703-
LOGGER.log(Level.INFO, "Creating historycache for {0} repositories",
703+
LOGGER.log(Level.INFO, "Creating history cache for {0} repositories",
704704
repos2process.size());
705705
final CountDownLatch latch = new CountDownLatch(repos2process.size());
706706
for (final Map.Entry<Repository, String> entry : repos2process.entrySet()) {

0 commit comments

Comments
 (0)