You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Ralph Goers (JIRA)" <ji...@apache.org> on 2012/09/03 06:08:07 UTC
[jira] [Created] (LOG4J2-76) RewriteAppender should not call stop()
on the appenders it references.
Ralph Goers created LOG4J2-76:
---------------------------------
Summary: RewriteAppender should not call stop() on the appenders it references.
Key: LOG4J2-76
URL: https://issues.apache.org/jira/browse/LOG4J2-76
Project: Log4j 2
Issue Type: Bug
Components: Appenders
Affects Versions: 2.0-alpha2
Reporter: Ralph Goers
Fix For: 2.0-alpha3
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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
[jira] [Closed] (LOG4J2-76) RewriteAppender should not call stop()
on the appenders it references.
Posted by "Ralph Goers (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LOG4J2-76?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ralph Goers closed LOG4J2-76.
-----------------------------
Resolution: Fixed
Assignee: Ralph Goers
Fix committed in revision 1380124
> RewriteAppender should not call stop() on the appenders it references.
> ----------------------------------------------------------------------
>
> Key: LOG4J2-76
> URL: https://issues.apache.org/jira/browse/LOG4J2-76
> Project: Log4j 2
> Issue Type: Bug
> Components: Appenders
> Affects Versions: 2.0-alpha2
> Reporter: Ralph Goers
> Assignee: Ralph Goers
> Fix For: 2.0-alpha3
>
>
> 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.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org