Adding some debug logging to HTMLRendering and Rendition code.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23057 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Neil McErlean
2010-10-12 16:55:36 +00:00
parent a0b57d7b74
commit 3c9c19ec74
3 changed files with 24 additions and 2 deletions

View File

@@ -469,6 +469,10 @@ public abstract class AbstractRenderingEngine extends ActionExecuterAbstractBase
checkSourceNodeExists(sourceNode);
ChildAssociationRef renditionAssoc = createRenditionNodeAssoc(sourceNode, renditionDefinition);
if (logger.isDebugEnabled())
{
logger.debug("Created rendition assoc: " + renditionAssoc);
}
QName targetContentProp = getRenditionContentProperty(renditionDefinition);
NodeRef destinationNode = renditionAssoc.getChildRef();
RenderingContext context = new RenderingContext(sourceNode,//