File tree 1 file changed +9
-3
lines changed
opengrok-indexer/src/main/java/org/opengrok/indexer/index
1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -500,19 +500,25 @@ private boolean isReadyForHistoryBasedReindex() {
500
500
501
501
// History needs to be enabled for the history cache to work (see the comment below).
502
502
if (!project .isHistoryEnabled ()) {
503
- LOGGER .log (Level .FINEST , "history is disabled, will be indexed by directory traversal." );
503
+ LOGGER .log (Level .FINEST ,
504
+ "history is disabled for project {0}, will be indexed by directory traversal." ,
505
+ project );
504
506
return false ;
505
507
}
506
508
507
509
// History cache is necessary to get the last indexed revision for given repository.
508
510
if (!env .isHistoryCache ()) {
509
- LOGGER .log (Level .FINEST , "history cache is disabled, will be indexed by directory traversal." );
511
+ LOGGER .log (Level .FINEST ,
512
+ "history cache is disabled for project {0}, will be indexed by directory traversal." ,
513
+ project );
510
514
return false ;
511
515
}
512
516
513
517
// Per project tunable can override the global tunable, therefore env.isHistoryBasedReindex() is not checked.
514
518
if (!project .isHistoryBasedReindex ()) {
515
- LOGGER .log (Level .FINEST , "history-based reindex is disabled, will be indexed by directory traversal." );
519
+ LOGGER .log (Level .FINEST ,
520
+ "history-based reindex is disabled for project {0}, will be indexed by directory traversal." ,
521
+ project );
516
522
return false ;
517
523
}
518
524
You can’t perform that action at this time.
0 commit comments