[logback-user] LocationInfo

Ceki Gulcu listid at qos.ch
Sun Apr 15 22:57:47 CEST 2007


Hi Dirk,

The attribute still exists. However, it is now called 
"IncludeCallerData". SocketAppender has this attribute while 
JMS(Queue|Topic)Appender don't (although they should). DBAppender always 
includes called data, since comparatively computing caller data is much 
faster than inserting into a DB.

Does this help?


dirk ooms wrote:
> Hello,
>
> In log4j LocationInfo was an attribute of several appenders (e.g. Socket, 
> SMTP) to determine whether the 'expensive' location info should be 
> determined. I couldn't find this attribute anymore in logback, what is 
> logback's approach to this? I understand that for e.g. SMTPAppender this info 
> could be derived from its contained Layout, but what about SocketAppender?
>   


-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch




More information about the Logback-user mailing list