You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4php-dev@logging.apache.org by "Ivan Habunek (JIRA)" <ji...@apache.org> on 2012/09/01 09:13:07 UTC

[jira] [Commented] (LOG4PHP-153) Merge LoggerAppenderEmail and LoggerAppenderEmailEvent into a single appender

    [ https://issues.apache.org/jira/browse/LOG4PHP-153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446626#comment-13446626 ] 

Ivan Habunek commented on LOG4PHP-153:
--------------------------------------

TEST COMMENT:
{code:xml}
<test>
  <another tag="attribute"/>
</test>
{code}
                
> Merge LoggerAppenderEmail and LoggerAppenderEmailEvent into a single appender
> -----------------------------------------------------------------------------
>
>                 Key: LOG4PHP-153
>                 URL: https://issues.apache.org/jira/browse/LOG4PHP-153
>             Project: Log4php
>          Issue Type: Improvement
>          Components: Code
>    Affects Versions: 2.1.0
>            Reporter: Ivan Habunek
>            Assignee: Ivan Habunek
>            Priority: Minor
>              Labels: appender, email
>
> These two appenders are very similar. It would make sense to merge the functionality into a single logger which would have an option to buffer the output.
> For example, a "bufferSize" option can be added. If bufferSize is set to 10, then an email will be sent for every 10 logged messages. If bufferSize is set to 1, the appender will send an email for each logged message (like LoggerAppenderMailEvent) and if the bufferSize is set to NULL, then buffering would be unlimited (like LoggerAppenderMail).
> I propose to merge the whole funtionality into LoggerAppenderMail and make LoggerAppenderMailEvent deprecated.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira