[ 
https://issues.apache.org/jira/browse/LOG4J2-1211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15041539#comment-15041539
 ] 

Remko Popma commented on LOG4J2-1211:
-------------------------------------

 Have you had a chance to look at the documentation for threshold filter? 
http://logging.apache.org/log4j/2.x/manual/filters.html#ThresholdFilter

Try explicitly specifying the onMatch and onMismatch actions. 

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

Reply via email to