diff options
-rw-r--r-- | src/java/org/apache/fop/servlet/FopServlet.java | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/java/org/apache/fop/servlet/FopServlet.java b/src/java/org/apache/fop/servlet/FopServlet.java index 9b2326032..304cf21b9 100644 --- a/src/java/org/apache/fop/servlet/FopServlet.java +++ b/src/java/org/apache/fop/servlet/FopServlet.java @@ -37,11 +37,10 @@ import javax.xml.transform.sax.SAXResult; import javax.xml.transform.stream.StreamSource; import org.apache.commons.io.output.ByteArrayOutputStream; -import org.apache.commons.logging.impl.SimpleLog; +import org.apache.fop.apps.FOPException; import org.apache.fop.apps.FOUserAgent; import org.apache.fop.apps.Fop; -import org.apache.fop.apps.FOPException; import org.apache.fop.apps.FopFactory; import org.apache.fop.apps.MimeConstants; @@ -78,8 +77,6 @@ public class FopServlet extends HttpServlet { /** Name of the parameter used for the XSLT file */ protected static final String XSLT_REQUEST_PARAM = "xslt"; - /** Logger to give to FOP */ - protected SimpleLog log = null; /** The TransformerFactory used to create Transformer instances */ protected TransformerFactory transFactory = null; /** The FopFactory used to create Fop instances */ @@ -91,8 +88,6 @@ public class FopServlet extends HttpServlet { * {@inheritDoc} */ public void init() throws ServletException { - this.log = new SimpleLog("FOP/Servlet"); - log.setLevel(SimpleLog.LOG_LEVEL_WARN); this.uriResolver = new ServletContextURIResolver(getServletContext()); this.transFactory = TransformerFactory.newInstance(); this.transFactory.setURIResolver(this.uriResolver); |