File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
opengrok-indexer/src/main/java/org/opengrok/indexer/index Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -500,19 +500,25 @@ private boolean isReadyForHistoryBasedReindex() {
500500
501501 // History needs to be enabled for the history cache to work (see the comment below).
502502 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 );
504506 return false ;
505507 }
506508
507509 // History cache is necessary to get the last indexed revision for given repository.
508510 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 );
510514 return false ;
511515 }
512516
513517 // Per project tunable can override the global tunable, therefore env.isHistoryBasedReindex() is not checked.
514518 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 );
516522 return false ;
517523 }
518524
You can’t perform that action at this time.
0 commit comments