In profiling sipxbridge I found that the
org.sipfoundry.commons.log4j.SipFoundryFormatter and Appender
consumes quite a bit more CPU than I thought it would. You may want to
your java logging using
if ( logger.isDebugEnabled() ) {
logger.debug(....);
}
This prevents the log formatter from having to format your logs and
hence will improve the performance of your code.
Ranga
--
M. Ranganathan
_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/