Issue Details (XML | Word | Printable)

Key: LOG4NET-29
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Nicko Cadell
Reporter: Nicko Cadell
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Log4net

LevelMatchFilter should return Neutral when no match is found

Created: 11/May/05 09:27 PM   Updated: 11/May/05 09:45 PM
Return to search
Component/s: Core
Affects Version/s: 1.2.9
Fix Version/s: 1.2.10

Time Tracking:
Not Specified

Resolution Date: 11/May/05 09:45 PM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #312282 Wed May 11 12:44:53 UTC 2005 nicko Fix for LOG4NET-29 LevelMatchFilter should return Neutral when no match is found
Files Changed
MODIFY /logging/log4net/trunk/src/Filter/LevelMatchFilter.cs

Nicko Cadell made changes - 11/May/05 09:45 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]