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

LevelRangeFilter seems not to work correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.4.1
    • None
    • Filters
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: