On Tue, 20 Nov 2001, DZIEMBOWSKI,KINGA (HP-NewJersey,ex2) wrote:

> Hi,
> I am doing the performance tests and for this I need to completely turn off
> any form of cocoon logging.
> I have trouble to achieve this. How to do it?

:) best way would be to enclose any 'getLogger()...()' statements into

   if (getLogger().is....Enabled()) {
       getLogger()....();
   }

and then raise the log level up to FATAL_ERROR

This way no much cpu cycles are spent on creating StringBuffers for the
logging message and I don't think we ahve much logging on FATAL_ERROR
lavel.

Giacomo

> Thanks,
> Kinga
>
> _________________________________
>
> Kinga Dziembowski
> Hewlett Packard
> HP Bluestone Middleware Division
> 6000 Irwin Road
> Mt. Laurel, NJ 08054
>
> 856.638.6065
> www.bluestone.com
>
> ---------------------------------------------------------------------
> 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