Log4net
  1. Log4net
  2. LOG4NET-29

LevelMatchFilter should return Neutral when no match is found

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2.9
    • Fix Version/s: 1.2.10
    • Component/s: Core
    • Labels:
      None

      Description

      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Nicko Cadell
            Reporter:
            Nicko Cadell
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development