Revision 9990
Added by Jing Tao over 7 years ago
SolrIndex.java | ||
---|---|---|
591 | 591 |
if(isArchive ) { |
592 | 592 |
//delete the index for the archived objects |
593 | 593 |
remove(pid.getValue(), systemMetadata); |
594 |
log.info("SolrIndex.update============================= archive the idex for the identifier "+pid); |
|
594 |
log.info("SolrIndex.update============================= archive the idex for the identifier "+pid.getValue());
|
|
595 | 595 |
} else { |
596 | 596 |
//generate index for either add or update. |
597 | 597 |
insert(pid, systemMetadata, objectPath); |
598 |
log.info("SolrIndex.update============================= insert index for the identifier "+pid); |
|
598 |
log.info("SolrIndex.update============================= insert index for the identifier "+pid.getValue());
|
|
599 | 599 |
} |
600 | 600 |
} |
601 | 601 |
|
Also available in: Unified diff
Add the method PropertyConfigurator.configureAndWatch to monitor the change on log4j.properties file.