I would expect that the Appenders and Formatters only come into play if debug is enabled. Am I wrong ?
> -----Original Message----- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 04, 2003 3:34 PM > To: Tomcat Users List > Subject: RE: How to measue performance? Log4j on/off. > > > > Finally, even the example with debug("x") vs. debug(translate("x")) > missed something -- the possibly complex configuration of log4j. If, > for example, you have an appender such as JMS, Telnet, or > SMTP (all come with log4j) configured to send out debug messages, > every call to debug can be much much more expensive than simply > writing a text string to a file. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
