Ron Grabowski created LOG4J2-3332:
-------------------------------------
Summary: SmtpAppender: add capability to send buffered messages as
an email attachment (text, zip, gzip)
Key: LOG4J2-3332
URL: https://issues.apache.org/jira/browse/LOG4J2-3332
Project: Log4j 2
Issue Type: New Feature
Components: Appenders
Reporter: Ron Grabowski
Assignee: Ron Grabowski
Sending hundreds of buffered messages in an email body makes it difficult to
view messages in a more traditional text (fixed font) view. Introduce new
parameters that default to current behavior:
* attachEvents: true/false (defaults to false)
* attachEventsCompression: text/zip/gzip (defaults to text)
In the first iteration the filename will be "logEvents": logEvents.txt,
logEvents,zip, logEvents.gz. Compression settings like level will not be
settable.
This ticket will not add support for a timer to flush events.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)