FOP writes all of its messages out through a static MessageHandler object.
You can direct those messages by calling the setOutputMethod method on that
object before you start the render operation like so:

MessageHandler.setOutputMethod( MessageHandler.NONE );

There are also methods to get the current output method so you can save it
and restore it later.

Don Seib
Software Developer
Landmark Graphics Canada
[EMAIL PROTECTED]
(403) 218-2243

-----Original Message-----
From: Jim Urban [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 10:31 AM
To: [EMAIL PROTECTED]
Subject: Messages

Just a simple question.  Each time I run FOP in my servlet I get the
following messages generated to Tomcat's output:

building formatting object tree
setting up fonts
formatting FOs into areas
 [1]
rendering areas to PDF
writing out PDF

Is there anyway I can turn these messages off?  I will be using FOP quite
heavily in my high traffic application and I don't want my Tomcat log filled
with these messages.
BTW:  Now that I got FOP and Xalan working, I love them, keep up the good
work!

Thanks,

Jim Urban
Product Manager
Netsteps Inc.
Suite 505E
1 Pierce Pl.
Itasca, IL  60143
Voice:  (630) 250-3045 x2164
Fax:  (630) 250-3046


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to