Uploaded image for project: 'Log4php'
  1. Log4php
  2. LOG4PHP-199

LoggerFilterLevelRange behaviour inconsistent with docs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.3.0
    • None
    • Code
    • None

    Description

      IMO, this filter should behave similar to LoggerFilterLevelMatch, i.e.:

      • if level is in given range and acceptOnMatch=true, then ACCEPT
      • if level is in given range and acceptOnMatch=false, then DENY
      • else NEUTRAL

      What it currently does:

      • if level is in given range and acceptOnMatch=true, then ACCEPT
      • if level is in given range and acceptOnMatch=false, then NEUTRAL
      • else DENY

      This is copied directly from log4j.
      http://logging.apache.org/log4j/1.2/apidocs/org/apache/log4j/varia/LevelRangeFilter.html

      To me present behaviour makes no sense...

      Attachments

        Activity

          People

            juice Ivan Habunek
            juice Ivan Habunek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: