[ 
https://issues.apache.org/jira/browse/LOG4J2-3332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ron Grabowski updated LOG4J2-3332:
----------------------------------
    Description: 
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: none/zip/gzip (defaults to none)

In the first iteration the filename will be "logEvents":
 * logEvents.txt
 * logEvents,txt.zip
 * logEvents.html.zip
 * logEvents.txt.gz
 * logEvents.html.gz

Settings like compression level will not be settable. Enhanced compression 
settings (bzip2, xz, pack200, deflate) will likely not be included.

This ticket will not add support for a timer to flush events. 

Change will occur in SmtpManager.

 

  was:
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,txt.zip
 * logEvents.html.zip
 * logEvents.txt.gz
 * logEvents.html.gz

Settings like compression level will not be settable. Enhanced compression 
settings (bzip2, xz, pack200, deflate) will likely not be included.

This ticket will not add support for a timer to flush events. 

Change will occur in SmtpManager.

 


> 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
>            Priority: Minor
>
> 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: none/zip/gzip (defaults to none)
> In the first iteration the filename will be "logEvents":
>  * logEvents.txt
>  * logEvents,txt.zip
>  * logEvents.html.zip
>  * logEvents.txt.gz
>  * logEvents.html.gz
> Settings like compression level will not be settable. Enhanced compression 
> settings (bzip2, xz, pack200, deflate) will likely not be included.
> This ticket will not add support for a timer to flush events. 
> Change will occur in SmtpManager.
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to