Revision 7178
Added by ben leinfelder over 12 years ago
src/edu/ucsb/nceas/metacat/dataone/SystemMetadataFactory.java | ||
---|---|---|
615 | 615 |
|
616 | 616 |
for (String localId : idList) { |
617 | 617 |
logMetacat.debug("Creating SystemMetadata for localId " + localId); |
618 |
logMetacat.trace("METRICS:\tGENERATE_SYSTEM_METADATA:\tBEGIN:\tLOCALID:\t" + localId); |
|
619 |
|
|
618 | 620 |
SystemMetadata sm = null; |
619 | 621 |
|
620 | 622 |
//generate required system metadata fields from the document |
... | ... | |
634 | 636 |
IdentifierManager.getInstance().updateSystemMetadata(sm); |
635 | 637 |
logMetacat.info("Updated SystemMetadata for " + localId); |
636 | 638 |
} |
639 |
logMetacat.trace("METRICS:\tGENERATE_SYSTEM_METADATA:\tEND:\tLOCALID:\t" + localId); |
|
640 |
|
|
637 | 641 |
} |
638 | 642 |
logMetacat.info("done generating system metadata for given list"); |
639 | 643 |
} |
Also available in: Unified diff
add trace statements for measuring time to complete SM generation.