You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Patric Rufflar (JIRA)" <ji...@apache.org> on 2015/12/04 13:34:11 UTC

[jira] [Created] (LOG4J2-1211) LevelRangeFilter seems not to work correctly

Patric Rufflar created LOG4J2-1211:
--------------------------------------

             Summary: LevelRangeFilter seems not to work correctly
                 Key: LOG4J2-1211
                 URL: https://issues.apache.org/jira/browse/LOG4J2-1211
             Project: Log4j 2
          Issue Type: Bug
          Components: Filters
    Affects Versions: 2.4.1
            Reporter: Patric Rufflar


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 event between TRACE and INFO.
When removing the <LevelRangeFilter>-Tag, I can see all log events.

Am I doing something wrong?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org