DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=32572>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=32572 Summary: Would like to use Filter's as TriggeringEventEvaluator's for SMTPAppender Product: Log4j Version: 1.2 Platform: PC OS/Version: Windows 2000 Status: NEW Severity: enhancement Priority: P2 Component: Appender AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] There are already a few useful implementations of Filter. It would be nice if we could also use those implems as TriggeringEventEvaluator's for SMTPAppender. This would be trivial to accomplish by having Filter implement TriggeringEventEvaluator interface and adding the following method to Filter: public boolean isTriggeringEvent(LoggingEvent event) { return (decide(event) == ACCEPT); } Related to this - it would be nice if DOMConfigurator allowed specification and config of TriggeringEventEvaluator's for SMTPAppender, similarly to how it allows Filters to be specified. Thanks, Steve -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
