Add a debug log statement at the end of the metadata extraction process, to report the raw values and the mapped+accepted properties

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@31090 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Nick Burch
2011-10-10 14:53:03 +00:00
parent 8d2f8a159d
commit 161359b39c

View File

@@ -656,6 +656,12 @@ abstract public class AbstractMappingMetadataExtracter implements MetadataExtrac
filterSystemProperties(systemProperties, destination); filterSystemProperties(systemProperties, destination);
// Now use the proper overwrite policy // Now use the proper overwrite policy
changedProperties = overwritePolicy.applyProperties(systemProperties, destination); changedProperties = overwritePolicy.applyProperties(systemProperties, destination);
if(logger.isDebugEnabled())
{
logger.debug("Extracted Metadata from " + reader + "\n Found: " +
rawMetadata + "\n Mapped and Accepted: " + changedProperties);
}
} }
catch (Throwable e) catch (Throwable e)
{ {