From 18169c30906974a10fa75f66607adc5274eeca49 Mon Sep 17 00:00:00 2001 From: Peter Bernard West Date: Fri, 16 Apr 2004 05:17:00 +0000 Subject: [PATCH] Get logger through foTree git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/FOP_0-20-0_Alt-Design@197513 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/fop/fo/FONode.java | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/java/org/apache/fop/fo/FONode.java b/src/java/org/apache/fop/fo/FONode.java index 41f0e10a1..77260d80c 100644 --- a/src/java/org/apache/fop/fo/FONode.java +++ b/src/java/org/apache/fop/fo/FONode.java @@ -24,7 +24,6 @@ import java.util.Iterator; import java.util.logging.Logger; import org.apache.fop.apps.FOPException; -import org.apache.fop.apps.Fop; import org.apache.fop.datastructs.ROBitSet; import org.apache.fop.datastructs.SyncedNode; import org.apache.fop.datastructs.TreeException; @@ -53,7 +52,6 @@ public class FONode extends SyncedNode{ private static final String tag = "$Name: $"; private static final String revision = "$Revision: 1.19.2.33 $"; - protected Logger log = Logger.getLogger(Fop.fopPackage); /** * State flags: a bit set of states applicable during FO tree build. * N.B. States must be powers of 2. @@ -111,7 +109,9 @@ public class FONode extends SyncedNode{ * The FO Tree */ protected final FOTree foTree; - + + protected final Logger log; + /** The buffer from which parser events are drawn. */ protected final XmlEventReader xmlevents; @@ -207,6 +207,7 @@ public class FONode extends SyncedNode{ { super(parent, foTree); this.foTree = foTree; + this.log = foTree.getLogger(); this.type = type; this.stateFlags = stateFlags; this.sparsePropsMap = sparsePropsMap; -- 2.39.5