logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patric R. (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LOG4J2-1211) LevelRangeFilter seems not to work correctly
Date Fri, 04 Dec 2015 12:36:10 GMT

     [ https://issues.apache.org/jira/browse/LOG4J2-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Patric R. updated LOG4J2-1211:
------------------------------
    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?

  was:
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?


> 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 R.
>
> 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?



--
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


Mime
View raw message