logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Erskine <mse...@googlemail.com>
Subject Re: Measuring logging performance impact (including string concatenation)
Date Tue, 23 Feb 2010 19:39:53 GMT
If you're concerned about performance then just code sensibly: when a
call is going to be expensive just do what's right and check the
logger level. Who cares if it involves an extra if statement?

Regards,
Michael Erskine.

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message