Ceki Gülcü wrote, On 18/06/2003 18.08:


At 04:23 PM 6/18/2003 +0200, you wrote:

Finally, there is the speed issue. As fast as an if.isDebugEnabled() may be, we have seen that some places need a logging statement in a "close loop", and this makes performance degrade.


How is that possible? If the logging statements are disabled, then they are not used.

Ok, it's just the if-isDebugEnabled()


Otherwise, if they are enabled, then they generate massive output rendering the logs useless. So placing log statements in tight loops is always a lose-lose proposition, or?

SAX events. Or code that I have used that needs to collect statistical info at times.


But WRT the other points, this is the minor.

--
Nicola Ken Barozzi                   [EMAIL PROTECTED]
            - verba volant, scripta manent -
   (discussions get forgotten, just code remains)
---------------------------------------------------------------------



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



Reply via email to