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

Torben Möller commented on LOG4J2-2335:
---------------------------------------

I think that this issue can be closed. The problem was the use of „Marker“ 
instead „MarkerFilter“ in the example. This was fixed in 
[LOG4J2-1802|https://issues.apache.org/jira/browse/LOG4J2-1802]: Convert 
filters manual page to asciidoc.

 

Old Version

[https://logging.apache.org/log4j/log4j-2.2/manual/filters.html]

<Marker marker="EVENT" onMatch="ACCEPT" onMismatch="NEUTRAL"/>

 

Current fixed Version

[http://logging.apache.org/log4j/2.x/manual/filters.html]

<MarkerFilter marker="EVENT" onMatch="ACCEPT" onMismatch="NEUTRAL"/>

> Incorrect example for CompositeFilter
> -------------------------------------
>
>                 Key: LOG4J2-2335
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2335
>             Project: Log4j 2
>          Issue Type: Documentation
>          Components: Documentation
>            Reporter: Devon C Miller
>            Priority: Major
>
> The example code for {{CompositeFilter}} 
> (src/site/asciidoc/manual/filters.adoc) does not _actually_ contain any 
> reference to {{CompositeFilter}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to