logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Neidhart (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LOG4J2-202) SMTPAppender with ThresholdFilter
Date Sat, 22 Jun 2013 17:05:20 GMT

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

Thomas Neidhart commented on LOG4J2-202:

Currently the filter is only used as a trigger to send messages, not to filter them.

The site documentation says something different than the javadoc of the SMTPAppender, but
it would make sense to have both type of filters:

 * one to filter events in general: only those events that pass the filter will be taken into
account by the appender
 * one to trigger an actual mail being sent: all events captured that have not been filtered
before will be sent
> SMTPAppender with ThresholdFilter
> ---------------------------------
>                 Key: LOG4J2-202
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-202
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: Appenders, Filters
>    Affects Versions: 2.0-beta4
>         Environment: Windows 7 x64, Java 1.7.0_17 x64, Intel Core i3
>            Reporter: Erico Seberino da Silva JĂșnior
> When we use the combination of SMTPAppender with ThresholdFilter
> incoming emails have all levels and not only those defined in ThresholdFilter.

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

To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org

View raw message