[
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: [email protected]
For additional commands, e-mail: [email protected]