]> source.dussan.org Git - xmlgraphics-fop.git/commitdiff
Use local reference to Fop.logger.
authorPeter Bernard West <pbwest@apache.org>
Mon, 8 Mar 2004 22:51:12 +0000 (22:51 +0000)
committerPeter Bernard West <pbwest@apache.org>
Mon, 8 Mar 2004 22:51:12 +0000 (22:51 +0000)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197433 13f79535-47bb-0310-9956-ffa450edef68

src/java/org/apache/fop/apps/Driver.java

index 336788d7d56dfd012f1046abd5d67597fad6a755..b1638e472361d9c63dfe802a09094b7e037579c4 100644 (file)
@@ -21,6 +21,8 @@
 
 package org.apache.fop.apps;
 
+import java.util.logging.Logger;
+
 import org.xml.sax.InputSource;
 import org.xml.sax.SAXException;
 import org.xml.sax.XMLReader;
@@ -66,6 +68,7 @@ public class Driver {
     /** Render to RTF. OutputStream must be set */
     public static final int RENDER_RTF = 10;
 
+    protected Logger logger = Logger.getLogger(Fop.fopPackage);
     /** If true, full error stacks are reported */
     private boolean _errorDump = false;
     private Configuration configuration = null;
@@ -97,7 +100,7 @@ public class Driver {
         configuration = new Configuration();
         options = new FOPOptions(configuration);
         _errorDump = configuration.isTrue("debugMode");
-        Fop.logger.config(version);
+        logger.config(version);
     }
     
     public Driver(String[] args, Configuration config, FOPOptions options) {
@@ -105,7 +108,7 @@ public class Driver {
         configuration = config;
         this.options = options;
         _errorDump = configuration.isTrue("debugMode");
-        Fop.logger.config(version);
+        logger.config(version);
     }
 
     /**