Log4j 2
  1. Log4j 2
  2. LOG4J2-76

RewriteAppender should not call stop() on the appenders it references.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-alpha2
    • Fix Version/s: 2.0-beta1
    • Component/s: Appenders
    • Labels:
      None

      Description

      The RewriteAppender "wraps" other Appenders. When it is stopped it is calling the stop method on the wrapped appender. This will cause any manager associated with the subordinate appender to have its use count decremented incorrectly causing a Manager to be released when it should not be.

        Activity

        Hide
        Ralph Goers added a comment -

        Fix committed in revision 1380124

        Show
        Ralph Goers added a comment - Fix committed in revision 1380124

          People

          • Assignee:
            Ralph Goers
            Reporter:
            Ralph Goers
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development