Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1554

org.apache.logging.log4j.core.filter.DynamicThresholdFilter doesn't override all 'filter' methods of org.apache.logging.log4j.core.filter.AbstractFilter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6.2
    • 2.7
    • Filters
    • None
    • Development

    • Important

    Description

      We have found that filtering doesn't work with DynamicThresholdFilter when we are using methods like logger.trace(pattern, val);

      We have found that DynamicThresholdFilter overrides only few 'filter' methods of AbstractFilter what causes returning Result.NEUTRAL on them, so filtering doesn't work.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              chernser Sergey Chernov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: