-
Log4J a Potential Performance Hit. (2 messages)
- Posted by: Kirk Pepperdine
- Posted on: November 15 2005 04:35 EST
If you’ve ever wondered how log4j injects the line numbers of the code generating the debugging information then now you need look no farther then Zarar latest blog entry. In his blog Zarar not only explains how log4j achieves this he also points out that you may want to take care to ensure this feature is turned off in production.Threaded Messages (2)
- Who knew? by James Watson on November 15 2005 10:41 EST
- JXInsight CallStack Benchmark Insight Article by William Louth on November 19 2005 13:20 EST
-
Who knew?[ Go to top ]
- Posted by: James Watson
- Posted on: November 15 2005 10:41 EST
- in response to Kirk Pepperdine
Yes, everyone should read the documentation
.
Used to output the line number from where the logging request was issued.
WARNING Generating caller location information is extremely slow. It's use should be avoided unless execution speed is not an issue. -
JXInsight CallStack Benchmark Insight Article[ Go to top ]
- Posted by: William Louth
- Posted on: November 19 2005 13:20 EST
- in response to Kirk Pepperdine
Hi,
The Java/J*EE Performance Management Insight Article series on our website (http://www.jinspired.com) discusses the cost of this call and compares it with JXInsight's Tracer implementation.
http://www.jinspired.com/products/jdbinsight/callstackbenchmark.html
Regards,
William Louth
JXInsight Product Architect
JInspired
"J*EE tuning, testing and tracing with JXInsight"
http://www.jinspired.com