logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Curt Arnold <carn...@apache.org>
Subject Re: Is %l slow in Log4Cxx?
Date Wed, 11 Apr 2007 20:16:48 GMT

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.



Mime
View raw message