aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/apache/fop/apps/Driver.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/apache/fop/apps/Driver.java')
-rw-r--r--src/org/apache/fop/apps/Driver.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/org/apache/fop/apps/Driver.java b/src/org/apache/fop/apps/Driver.java
index 5a49d02e2..e8be3c3ef 100644
--- a/src/org/apache/fop/apps/Driver.java
+++ b/src/org/apache/fop/apps/Driver.java
@@ -205,7 +205,9 @@ public class Driver {
}
private FOUserAgent getUserAgent() {
- return new FOUserAgent();
+ FOUserAgent ua = new FOUserAgent();
+ ua.setLogger(log);
+ return ua;
}
public void setLogger(Logger logger) {