Revision 8027
Added by Jing Tao over 11 years ago
metacat-index/src/main/java/edu/ucsb/nceas/metacat/index/IndexGenerator.java | ||
---|---|---|
318 | 318 |
}*/ |
319 | 319 |
|
320 | 320 |
log.info("the metacat ids (except the resource map ids)-----------------------------"+otherMetacatIds); |
321 |
logFile(otherMetacatIds, "ids-for-timed-indexing-log"); |
|
321 |
//logFile(otherMetacatIds, "ids-for-timed-indexing-log");
|
|
322 | 322 |
log.info("the deleted metacat ids (except the resource map ids)-----------------------------"+otherDeletedMetacatIds); |
323 | 323 |
log.info("the metacat resroucemap ids -----------------------------"+resourceMapIds); |
324 |
logFile(resourceMapIds, "ids-for-timed-indexing-log"); |
|
324 |
//logFile(resourceMapIds, "ids-for-timed-indexing-log");
|
|
325 | 325 |
log.info("the deleted metacat resroucemap ids -----------------------------"+resourceMapDeletedIds); |
326 | 326 |
index(otherMetacatIds); |
327 | 327 |
removeIndex(otherDeletedMetacatIds); |
... | ... | |
549 | 549 |
if(identifier != null && identifier.getValue() != null && !identifier.getValue().equals("")) { |
550 | 550 |
List<String> idLog = new ArrayList<String>(); |
551 | 551 |
idLog.add(identifier.getValue()); |
552 |
logFile(idLog, fileName); |
|
552 |
//logFile(idLog, fileName);
|
|
553 | 553 |
SystemMetadata sysmeta = getSystemMetadata(identifier.getValue()); |
554 | 554 |
if(sysmeta != null) { |
555 | 555 |
ObjectFormatIdentifier formatId =sysmeta.getFormatId(); |
Also available in: Unified diff
Remove the code to write some debug information into a temporary file.