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 23:21:55 UTC
DO NOT REPLY [Bug 45980] New: SMTPAppender should have a sendOnClose
option
https://issues.apache.org/bugzilla/show_bug.cgi?id=45980
Summary: SMTPAppender should have a sendOnClose option
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
On Oct 9, 2008, at 12:01 AM, geek.shrek wrote:
Hi,
I would like to send email on WARNING level or higher and append it in the
buffer. When I reach the end of my application I would like to send email that
collected in the buffer even though there is no ERROR.
Is it possible to trigger sending email even though there is no ERROR?
I've tried with the "TriggeringEventEvaluator" but it doesn't seem to work
I set the threshold level to WARN, but to send an email I still need "ERROR"
level to trigger sending an email.
Can anyone help me with this?
Thanks,
----
The proposed enhancement is to add a sendOnClose property that if set to true
would result in an email being sent at appender close if any logging requests
had been buffered.
--
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 45980] SMTPAppender should have a sendOnClose
option
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45980
Curt Arnold <ca...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Curt Arnold <ca...@apache.org> 2008-10-09 14:25:12 PST ---
Committed in rev 703263.
--
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