You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Jeremias Maerki <je...@outline.ch> on 2002/03/01 08:52:32 UTC

Re: FOP Servlet in Quiet MODE

Have a look at the following page:
http://xml.apache.org/fop/embedding.html

In the examples section there's a sample on how to set up the LogKit
Logger. One thing you can do is log.setPriority(Priority.WARN) or
log.setPriority(Priority.ERROR). Even better is to use a FileTarget
insteam of the StreamTarget. Something like:
target = new FileTarget(mylogfile, true, formatter);

> Would anyone please tell me how to run FOP servlet in quiet mode?  I
> believe the messages displayed on console is draging down the overall
> performance.  Your input is greatly appreciated.  Thanks,

I hope this helps!

Cheers,
Jeremias Märki

mailto:jeremias.maerki@outline.ch

OUTLINE AG
Postfach 3954 - Rhynauerstr. 15 - CH-6002 Luzern
Tel. +41 41 317 2020 - Fax +41 41 317 2029
Internet http://www.outline.ch