Return-Path: X-Original-To: apmail-logging-log4j-dev-archive@www.apache.org Delivered-To: apmail-logging-log4j-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 55FD8E08C for ; Fri, 11 Jan 2013 20:36:14 +0000 (UTC) Received: (qmail 25988 invoked by uid 500); 11 Jan 2013 20:36:13 -0000 Delivered-To: apmail-logging-log4j-dev-archive@logging.apache.org Received: (qmail 25891 invoked by uid 500); 11 Jan 2013 20:36:13 -0000 Mailing-List: contact log4j-dev-help@logging.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Log4J Developers List" Reply-To: "Log4J Developers List" Delivered-To: mailing list log4j-dev@logging.apache.org Received: (qmail 25706 invoked by uid 99); 11 Jan 2013 20:36:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2013 20:36:13 +0000 Date: Fri, 11 Jan 2013 20:36:13 +0000 (UTC) From: "William Burns (JIRA)" To: log4j-dev@logging.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (LOG4J2-148) Enhance Composite Filter to allow for and type operation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 William Burns created LOG4J2-148: ------------------------------------ Summary: Enhance Composite Filter to allow for and type operation Key: LOG4J2-148 URL: https://issues.apache.org/jira/browse/LOG4J2-148 Project: Log4j 2 Issue Type: Improvement Components: Filters Reporter: William Burns Attachments: CompositeFilter.java, diff Currently the CompositeFilter only really allows for an or type of operation where it returns the first result that isn't a NEUTRAL. I found the need to desire something where I want it to only return ACCEPT or DENY if all of the filters say the same thing. The way I have it implemented it returns NEUTRAL if all of the filters cannot agree, however I can see having this configurable to say DENY in the case where they don't all agree. Let me know if you think this seems reasonable or not. I will attach the diff and current file I had modified. -- 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