Uploaded image for project: 'Log4net'
  1. Log4net
  2. LOG4NET-29

LevelMatchFilter should return Neutral when no match is found

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.2.9
    • 1.2.10
    • Core
    • 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.

      Attachments

        Activity

          People

            nicko Nicko Cadell
            nicko Nicko Cadell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: