You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by "Nicko Cadell (JIRA)" <ji...@apache.org> on 2005/05/11 14:33:22 UTC

[jira] Created: (LOG4NET-29) LevelMatchFilter should return Neutral when no match is found

LevelMatchFilter should return Neutral when no match is found
-------------------------------------------------------------

         Key: LOG4NET-29
         URL: http://issues.apache.org/jira/browse/LOG4NET-29
     Project: Log4net
        Type: Bug
  Components: Core  
    Versions: 1.2.9    
    Reporter: Nicko Cadell
 Assigned to: Nicko Cadell 
    Priority: Minor
     Fix For: 1.2.10


LevelMatchFilter should return Neutral when no match is found

Currently the LevelMatchFilter returns either Accept or Deny explicitly when a match is not found. The return value is the opposite of the value returned when a match is found. In order to utilise the filter chaining the filter should return Neutral when no match is found, this allows additional filters to work on the event.

This is a breaking change for the LevelMatchFilter.
This will resynchronise the behaviour with log4j.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (LOG4NET-29) LevelMatchFilter should return Neutral when no match is found

Posted by "Nicko Cadell (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/LOG4NET-29?page=all ]
     
Nicko Cadell resolved LOG4NET-29:
---------------------------------

    Resolution: Fixed

> LevelMatchFilter should return Neutral when no match is found
> -------------------------------------------------------------
>
>          Key: LOG4NET-29
>          URL: http://issues.apache.org/jira/browse/LOG4NET-29
>      Project: Log4net
>         Type: Bug
>   Components: Core
>     Versions: 1.2.9
>     Reporter: Nicko Cadell
>     Assignee: Nicko Cadell
>     Priority: Minor
>      Fix For: 1.2.10

>
> LevelMatchFilter should return Neutral when no match is found
> Currently the LevelMatchFilter returns either Accept or Deny explicitly when a match is not found. The return value is the opposite of the value returned when a match is found. In order to utilise the filter chaining the filter should return Neutral when no match is found, this allows additional filters to work on the event.
> This is a breaking change for the LevelMatchFilter.
> This will resynchronise the behaviour with log4j.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira