logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <c...@qos.ch>
Subject Re: Object Rendering and Asynchronous Logging
Date Tue, 09 Nov 2004 10:32:53 GMT

Hello Sara,

At 06:20 PM 11/8/2004, Rosen, Sara wrote:
>If I use asynchronous logging with a custom object renderer, and the
>object changes between the time that the log message is sent to
>AsychAppender and the time that it is actually dispatched the the
>concrete file appender, does the Renderer reflect the original object or
>the changes in the object?
>  In other words, when is the object rendered - at LogEvent creation time
>or when appended to the actual target?

When actually appended. This is a bug which was corrected a few minutes 
ago. In the corrected version, the original state of the message is output.


>S. Rosen

Ceki Gülcü

      For log4j documentation consider "The complete log4j manual"

To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

View raw message