logging-log4net-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Albin Sunnanbo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4NET-473) Option for file extension in SmtpPickupDirAppender
Date Wed, 26 Aug 2015 18:41:45 GMT

    [ https://issues.apache.org/jira/browse/LOG4NET-473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14715317#comment-14715317

Albin Sunnanbo commented on LOG4NET-473:

Sorry for being sloppy and not providing any unit tests, but I couldn't find any test for
the SmtpPickupDirAppender to begin with.

> Option for file extension in SmtpPickupDirAppender
> --------------------------------------------------
>                 Key: LOG4NET-473
>                 URL: https://issues.apache.org/jira/browse/LOG4NET-473
>             Project: Log4net
>          Issue Type: New Feature
>    Affects Versions: 1.2.13
>            Reporter: Albin Sunnanbo
>         Attachments: SmtpPickupDirAppender-fileextension.patch
> Especially on Windows file extensions are very handy, if you give the output files the
`eml` extension you can just double click the file to open the mail in outlook.
> I have added a `FileExtension` option to the `SmtpPickupDirAppender` that can be used
to specify a file extension for the generated files.
> Although a default value of `eml` would be nice I have preserved backwards compatibility
of no file extension by default.

This message was sent by Atlassian JIRA

View raw message