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

@@ -238,6 +238,10 @@ public class HTMLRenderingEngine extends AbstractRenderingEngine
ContentModel.TYPE_CONTENT,
properties
).getChildRef();
if (logger.isDebugEnabled())
{
logger.debug("Image node created: " + img);
}
}
// TODO Once composite content is properly supported,
@@ -250,6 +254,10 @@ public class HTMLRenderingEngine extends AbstractRenderingEngine
);
writer.setMimetype(contentType);
writer.putContent(imageSource);
if (logger.isDebugEnabled())
{
logger.debug("Image content written into " + img);
}
// All done
return img;