On Apr 11, 2007, at 2:15 PM, Marshall Powers wrote:

The Log4Cxx docs says that the %l (for location) option in PatternLayout is “Extremely Slow”. Is this true, or was this just something left over from the Log4j documentation? The two documents are almost identical.



Left over from log4j. The location information is compiled into the logger call by the LOG4CXX_INFO and similar macros. There is no run- time overhead for determining it, though there would be a slight overhead in formatting it.


Reply via email to