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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

            • Assignee:
              ralph.goers@dslextreme.com Ralph Goers
              Reporter:
              ralph.goers@dslextreme.com Ralph Goers
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: