From 222fcc7d13a0dbbf31000c17422d87af4d216d89 Mon Sep 17 00:00:00 2001 From: Peter Bernard West Date: Mon, 8 Mar 2004 22:51:12 +0000 Subject: [PATCH] Use local reference to Fop.logger. 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 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/java/org/apache/fop/apps/Driver.java b/src/java/org/apache/fop/apps/Driver.java index 336788d7d..b1638e472 100644 --- a/src/java/org/apache/fop/apps/Driver.java +++ b/src/java/org/apache/fop/apps/Driver.java @@ -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); } /** -- 2.39.5