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 "Xie, David (IPCG-NJ)" <xi...@exchange.ml.com> on 2002/02/28 22:26:47 UTC

FOP Servlet in Quiet MODE

Hi all,

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,

David  


Re: FOP Servlet in Quiet MODE

Posted by Jeremias Maerki <je...@outline.ch>.
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