Ceki, I don�t understand your reply. Are you pointing me to buy your book - in the signature at the end - so I can get the answer? :( Thanks, Anil
-----Original Message----- From: Ceki G�lc� [mailto:[EMAIL PROTECTED] Sent: Monday, February 07, 2005 11:08 AM To: Log4J Users List Subject: Re: is log4j printing out class/method name expensive? Anil, The statement is only partial and hence incorrect. At 05:47 PM 2/7/2005, you wrote: >"Log4j can print both class & method name, but in an expensive way. It >creates a Throwable object, dumps the stack to a String, and then parses the >string to get the class/method name. As some of our applications requires >high throughput, we need to try to avoid unnecessary CPU cycles." > >Hello, >Someone made this statement and I wondered if it is true. >If I write logger.info("hello"); does it do this each time? >Thanks, >Anil Philip -- Ceki G�lc� The complete log4j manual: http://www.qos.ch/log4j/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
