aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/apps/Fop.java
diff options
context:
space:
mode:
authorGlen Mazza <gmazza@apache.org>2004-04-09 03:05:40 +0000
committerGlen Mazza <gmazza@apache.org>2004-04-09 03:05:40 +0000
commite5bf5c9709ab9d49cc07331235b04e0d2d3ef153 (patch)
tree3930a29a563b7ee3ce19e425b598e7ed2dab083d /src/java/org/apache/fop/apps/Fop.java
parente06ee49a35101aea966f5128dcb68908176616c7 (diff)
downloadxmlgraphics-fop-e5bf5c9709ab9d49cc07331235b04e0d2d3ef153.tar.gz
xmlgraphics-fop-e5bf5c9709ab9d49cc07331235b04e0d2d3ef153.zip
3/4ths of Simon's patch committed at the moment, with minor changes
made. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197496 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/apps/Fop.java')
-rw-r--r--src/java/org/apache/fop/apps/Fop.java9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/java/org/apache/fop/apps/Fop.java b/src/java/org/apache/fop/apps/Fop.java
index 92d7f8fb0..39d1d6c9c 100644
--- a/src/java/org/apache/fop/apps/Fop.java
+++ b/src/java/org/apache/fop/apps/Fop.java
@@ -45,12 +45,11 @@ public class Fop {
try {
Driver driver = new Driver();
- SimpleLog log = new SimpleLog("FOP");
- log.setLevel(SimpleLog.LOG_LEVEL_INFO);
- driver.setLogger(log);
-
- driver.getLogger().info(version);
options = new CommandLineOptions(args);
+
+ driver.setLogger(options.getLogger());
+ driver.getLogger().info(version);
+
inputHandler = options.getInputHandler();
try {