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

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.2
    • Fix Version/s: 2.7
    • Component/s: Filters
    • Labels:
      None
    • Environment:

      Development

    • Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: