W3C home > Mailing lists > Public > www-xsl-fo@w3.org > December 2001

Re: How to make FOP run in quiet mode in a FOPServlet?

From: Cyril Rognon <crognon@objectiva.fr>
Date: Wed, 05 Dec 2001 10:14:20 +0100
Message-Id: <5.0.2.1.2.20011205100111.00a682e8@pop.pro.proxad.net>
To: <www-xsl-fo@w3.org>
Erich,

this is not a general FO question but rather a fop oriented one. You should 
definitely use the fop-dev@xml.apache.org list to handle subject like this.

Anyway, the answer is to set the quiet mode in your configuration file (see 
fop documentation for this) with an entry like
<entry>
<key>quiet</key>
<value>true</value>
</entry>


If you don't use some specific configuration file, read the fo 
documentation about embedding fop, it provides the info you need. If you 
don't have enough, I suggest you read the archive of the list, it says 
everything (I mean it)


Cyril Rognon

At 12:07 04/12/2001 -0500, Kilmer, Erich wrote:
>Hello,
>I have taken the FOPServlet and extended for our own purposes and it works
>nicely. However every time I render an XML to PDF I get the following in the
>apps server log:
>
>building formatting object tree
>setting up fonts[1]
>Parsing of document complete, stopping renderer
>Initial heap size: 12198Kb
>Current heap size: 12323Kb
>Total memory used: 125Kb
>   Memory use is indicative; no GC was performed
>   These figures should not be used comparatively
>Total time used: 94ms
>Pages rendererd: 1
>Avg render time: 94ms/page
>
>This is useful information but I would like to be able to turn it off if
>possible.  I know it can be done in the FOP command line.
>
>Question: Is there a way to do this from the FOPServlet example code?
Received on Wednesday, 5 December 2001 04:15:32 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:06:08 GMT