WhenEqual filter
We need volunteers to help maintain and organize this Wiki. Please contact Jarek if you are interested in helping out.
Matches when the calculated layout is equal to the specified substring. This filter is deprecated in favour of




Configuration Syntax
<rules>
<logger ... >
<whenEqual ignoreCase="Boolean" layout="Layout" action="Enum" compareTo="String"/>
</logger>
</rules>
Read more about using the Configuration File.<logger ... >
<whenEqual ignoreCase="Boolean" layout="Layout" action="Enum" compareTo="String"/>
</logger>
</rules>
Parameters
- Filtering Options
- ignoreCase - Indicates whether to ignore case when comparing strings.Boolean Default: False
- layout - Layout to be used to filter log messages.Layout Required.
- action - Action to be taken when filter matches. Required.
Possible values: - compareTo - String to compare the layout to. Required.




