Log4j 2
  1. Log4j 2
  2. LOG4J2-244

RewriteAppender ignores the filter that's passed to it.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta6
    • Fix Version/s: 2.0-beta7
    • Component/s: Core
    • Labels:
      None

      Description

      The RewriteAppender ignores the filter provided. It just passes null instead of adding the filter.

      It occurs on the line where the AppenderControl is added to the ConcurrentMap. Instead of passing null, it could just pass the reference to the filter that it already passes to the super class.

        Activity

        Hide
        Ralph Goers added a comment -

        The filter on the RewriteAppender itself was not being ignored. However, filters on the referenced appenders were. This has been corrected in revision 1482079. Please verify and close.

        Show
        Ralph Goers added a comment - The filter on the RewriteAppender itself was not being ignored. However, filters on the referenced appenders were. This has been corrected in revision 1482079. Please verify and close.

          People

          • Assignee:
            Ralph Goers
            Reporter:
            Kurt Lehrke
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development