Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1211

LevelRangeFilter seems not to work correctly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: 2.4.1
    • Fix Version/s: None
    • Component/s: Filters
    • Labels:
      None

      Description

      Hi,
      I'm using strict xml configuration.
      When using the following filter definition, nothing is output by the corresponding Appender:

      <Filters>
      <LevelRangeFilter minLevel="TRACE"
      maxLevel="INFO" />
      </Filters>

      I'd expect that it should process all log events between TRACE and INFO.
      When removing the <LevelRangeFilter />-Tag, I can see all log events.

      Am I doing something wrong?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              MRalwasser Patric R.
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: