diff options
author | Keiron Liddle <keiron@apache.org> | 2002-04-11 09:33:31 +0000 |
---|---|---|
committer | Keiron Liddle <keiron@apache.org> | 2002-04-11 09:33:31 +0000 |
commit | ec28e0fccd19e6dcd0aef8aefad945d9dfafaa8c (patch) | |
tree | 034d05290379d4b556f2473ea82618b5bd9d429f /docs/xml-docs | |
parent | fcc06083c6b4f75a5a6ebbcc535f3dc2e95c88f4 (diff) | |
download | xmlgraphics-fop-ec28e0fccd19e6dcd0aef8aefad945d9dfafaa8c.tar.gz xmlgraphics-fop-ec28e0fccd19e6dcd0aef8aefad945d9dfafaa8c.zip |
replaced logkit logger with the logger interface in avalon framework
Submitted by: Michael Gratton <mjg@recalldesign.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194733 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/xml-docs')
-rw-r--r-- | docs/xml-docs/fop/embedding.xml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/xml-docs/fop/embedding.xml b/docs/xml-docs/fop/embedding.xml index 919fa98e8..d7734368d 100644 --- a/docs/xml-docs/fop/embedding.xml +++ b/docs/xml-docs/fop/embedding.xml @@ -37,6 +37,18 @@ driver.setRenderer(RENDER_PDF); driver.run();]]></source> + <p>You also need to set up logging. Global logging for all FOP + processes is managed by MessageHandler. Per-instance logging + is handled by Driver. You want to set both using an implementation + of org.apache.avalon.framework.logger.Logger. See + <jump href="http://jakarta.apache.org/avalon/framework/">Jakarta + Avalon Framework</jump> for more information. + </p> + <source><![CDATA[ + Logger logger = new ConsoleLogger(ConsoleLogger.LEVEL_INFO); + MessageHandler.setScreenLogger(logger); + driver.setLogger(logger);]]></source> + <p>To setup the user config file you can do the following </p> <source><![CDATA[ |