Remko Popma created LOG4J2-1593:

             Summary: Concrete Filter implementations should override equals 
and hashCode
                 Key: LOG4J2-1593
             Project: Log4j 2
          Issue Type: Improvement
          Components: Filters
            Reporter: Remko Popma

For {{CompositeFilter.remove(Filter)}} to work correctly, concrete Filter 
implementations should override {{equals}} and {{hashCode}}. 

This is because CompositeFilter uses List.remove(Object), comparing by 
equality. Applications that keep a reference to the Filter object that was 
registered will work, but for example registering and unregistering serialized 
and deserialized instances via JMX will not work without this.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to