Changeset 6104
- Timestamp:
- 11/13/06 14:06:35 (3 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
NXThemes/NXThemesCore/trunk/src/org/nuxeo/theme/protocol/nxtheme/Connection.java
r6000 r6104 21 21 import java.net.URLConnection; 22 22 23 import org.apache.commons.logging.Log; 24 import org.apache.commons.logging.LogFactory; 23 25 import org.nuxeo.theme.Manager; 24 26 import org.nuxeo.theme.elements.Element; … … 28 30 29 31 public final class Connection extends URLConnection { 32 33 private static final Log log = LogFactory.getLog(Connection.class); 30 34 31 35 private URL url; … … 65 69 RenderingInfo info = new RenderingInfo(rendered, url); 66 70 String content = renderer.render(info, cache).getMarkup(); 71 log.info("NXThemes output:\n" + content + "\n"); 67 72 return new ByteArrayInputStream(content.getBytes()); 68 73 }
