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

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 UTC