W3C home > Mailing lists > Public > www-xsl-fo@w3.org > June 2005

Re: How to remove log statements (Warning & Error messages)

From: Werner Donné <werner.donne@re.be>
Date: Fri, 17 Jun 2005 13:19:56 +0200
Message-ID: <42B2B1DC.6070407@re.be>
To: Narendra Mallela <nmallela@gmail.com>
CC: www-xsl-fo@w3.org

Hi Narendra,

You can call

org.apache.fop.messaging.MessageHandler
(
   new org.apache.avalon.framework.logger.ConsoleLogger
   (
     org.apache.avalon.framework.logger.ConsoleLogger.LEVEL_INFO
   )
);

You could expose the argument to the contructor through an environment
entry or an MBean, for example.

Regards,

Werner.

Narendra Mallela wrote:
> Hello Folks,
>  
>  I have a question regarding FOP log statements. We are rendering PDF
> from cocoon servlet running inside bea weblogic 8 instance. And
> whenever the PDF is rendered, lots of log messages(INFO, DEBUG, ERROR,
> WARN) are written to the weblogic console. I know somewhere this
> logger level for FOP needs to set to least lever, but where?
>  
> Your help  in this regard is appreciated.
>  
> Thanks & Regards,
> Narendra
> 
> 
> 

-- 
Werner Donné  --  Re BVBA
Engelbeekstraat 8
B-3300 Tienen
tel: (+32) 486 425803	e-mail: werner.donne@re.be
Received on Friday, 17 June 2005 11:20:18 GMT

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