From 895c0bfc34bc9c80d4354442801a168358d9f020 Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Wed, 22 Aug 2001 08:29:17 +0000 Subject: [PATCH] sets the logger on the treebuilder when getting the content handler thanks to Michel Lehon for spotting this git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194439 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/apps/Driver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/apache/fop/apps/Driver.java b/src/org/apache/fop/apps/Driver.java index e8c9003ac..88967f79b 100644 --- a/src/org/apache/fop/apps/Driver.java +++ b/src/org/apache/fop/apps/Driver.java @@ -204,7 +204,6 @@ public class Driver implements Loggable { public void setLogger(Logger logger) { log = logger; - _treeBuilder.setLogger(log); } private Logger getLogger() { @@ -440,6 +439,7 @@ public class Driver implements Loggable { public ContentHandler getContentHandler() { StreamRenderer streamRenderer = new StreamRenderer(_stream, _renderer); streamRenderer.setLogger(getLogger()); + _treeBuilder.setLogger(getLogger()); _treeBuilder.setStreamRenderer(streamRenderer); return _treeBuilder; -- 2.39.5