JWT007 opened a new issue, #3300:
URL: https://github.com/apache/logging-log4j2/issues/3300

   Log4j 2.24.3 - AbstractFilterable
   
   If I am not mistaken, the Javadoc of the 'AbstractFilterable#isFiltered' 
method is incorrect.
   
   ```
       /**
        * Determine if the LogEvent should be processed or ignored.
        * @param event The LogEvent.
        * @return true if the LogEvent should be processed.
        */
       @Override
       public boolean isFiltered(final LogEvent event) {
           return filter != null && filter.filter(event) == Filter.Result.DENY;
       }
   ```
   
   I *believe* that correct would be:
   
   `@return {@code true} if the event is filtered and should be ignored; 
otherwise, {@code false} if it should be processed`
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@logging.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to