cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "DZIEMBOWSKI,KINGA (HP-NewJersey,ex2)" <kinga_dziembow...@hp.com>
Subject RE: How can I completely turn off the cocoon logging?
Date Tue, 20 Nov 2001 22:08:31 GMT
Thanks,
Kinga
-----Original Message-----
From: Peter Royal [mailto:proyal@managingpartners.com]
Sent: Tuesday, November 20, 2001 4:24 PM
To: cocoon-dev@xml.apache.org
Subject: Re: How can I completely turn off the cocoon logging?


On Tuesday 20 November 2001 04:20 pm, you wrote:
> 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?

Look at the logkit.xconf file in the WEB-INF/ directory. In there you can
set 
the debug levels to ERROR (what you probably want for testing).

Of course, most of the code is not prefixed with
getLogger().isDebugEnabled() 
so there is still a speed penalty for the string construction. I believe it 
was Berin that made a post saying that removing all debug string generation 
was a 20% speedup.
-pete

-- 
peter royal -> proyal@managingpartners.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message