Skip to content

Commit 2525035

Browse files
Vladimir Kotalahornace
authored andcommitted
move log message to Repository
1 parent 6214ef9 commit 2525035

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -402,9 +402,6 @@ private void finishStore(Repository repository, String latestRev) {
402402
new Object[]{repository.getDirectoryName(), histDir});
403403
} else {
404404
storeLatestCachedRevision(repository, latestRev);
405-
LOGGER.log(Level.FINE,
406-
"Done storing history for repository {0}",
407-
repository.getDirectoryName());
408405
}
409406
}
410407

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,8 @@ final void createCache(HistoryCache cache, String sinceRevision) throws HistoryE
383383
File directory = new File(getDirectoryName());
384384

385385
doCreateCache(cache, sinceRevision, directory);
386+
387+
LOGGER.log(Level.FINE, "Done storing history cache for repository {0}", getDirectoryName());
386388
}
387389

388390
void finishCreateCache(HistoryCache cache, History history, String tillRevision) throws HistoryException {

0 commit comments

Comments
 (0)