forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgard...@apache.org
Subject svn commit: r477950 - /forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/plugin/XSLTOutputPlugin.java
Date Tue, 21 Nov 2006 22:56:55 GMT
Author: rgardler
Date: Tue Nov 21 14:56:55 2006
New Revision: 477950

URL: http://svn.apache.org/viewvc?view=rev&rev=477950
Log:
Some logging

Modified:
    forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/plugin/XSLTOutputPlugin.java

Modified: forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/plugin/XSLTOutputPlugin.java
URL: http://svn.apache.org/viewvc/forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/plugin/XSLTOutputPlugin.java?view=diff&rev=477950&r1=477949&r2=477950
==============================================================================
--- forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/plugin/XSLTOutputPlugin.java
(original)
+++ forrest/trunk/whiteboard/forrest2/core/src/core/org/apache/forrest/core/plugin/XSLTOutputPlugin.java
Tue Nov 21 14:56:55 2006
@@ -22,6 +22,7 @@
 import java.io.StringReader;
 import java.net.URI;
 import java.net.URISyntaxException;
+import java.net.URL;
 
 import javax.xml.transform.Transformer;
 import javax.xml.transform.TransformerConfigurationException;
@@ -32,6 +33,7 @@
 
 import org.apache.forrest.core.document.DefaultOutputDocument;
 import org.apache.forrest.core.document.IDocument;
+import org.apache.log4j.Logger;
 
 /**
  * A plugin that performs an XSLT transformation on the internal documents to
@@ -40,6 +42,8 @@
  */
 public class XSLTOutputPlugin extends BaseOutputPlugin {
 
+	Logger log = Logger.getLogger(XSLTInputPlugin.class);
+
 	private String xsltPath;
 
 	private XSLTOutputPlugin() {
@@ -53,7 +57,7 @@
 	@Override
 	public IDocument process(final IDocument doc) throws IOException {
 		final TransformerFactory tFactory = TransformerFactory.newInstance();
-
+		log.debug("Processing document with output stylesheet from " + this.getXsltPath());
 		try {
 			final String xsltURL = this.getClass().getResource(
 					this.getXsltPath()).toExternalForm();



Mime
View raw message