You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2008/10/09 00:00:32 UTC

DO NOT REPLY [Bug 45969] New: SMTPAppender does not force evaluation message at time of request

https://issues.apache.org/bugzilla/show_bug.cgi?id=45969

           Summary: SMTPAppender does not force evaluation message at time
                    of request
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Appender
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: carnold@apache.org


SMTPAppender can place LoggingEvents into a queue for later processing, but
does not call LoggingEvent.getRenderedMessage() or
LoggingEvent.getThrowableStringRep() which would force immediate evaluation of
the message and throwable, so the eventual message may be affected by changes
in the message parameter or throwable that occur after the logging request.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 45969] SMTPAppender does not force evaluation message at time of request

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45969


Curt Arnold <ca...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Curt Arnold <ca...@apache.org>  2008-10-08 15:07:00 PST ---
Fixed in rev 703006


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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