You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/11/21 05:05:00 UTC
[jira] [Commented] (LOG4J2-1571) Example of extending Appenders
tries to extend from final class OutputStreamAppender
[ https://issues.apache.org/jira/browse/LOG4J2-1571?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16694238#comment-16694238 ]
ASF subversion and git services commented on LOG4J2-1571:
---------------------------------------------------------
Commit b3381346a5b2be1e7245eb58101b6890bd308810 in logging-log4j2's branch refs/heads/master from [~ralph.goers@dslextreme.com]
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=b338134 ]
Merge pull request #217 from torbenmoeller/LOG4J2-1571
[LOG4J2-1571] Fixed Appenders section in Extending Log4j
> Example of extending Appenders tries to extend from final class OutputStreamAppender
> ------------------------------------------------------------------------------------
>
> Key: LOG4J2-1571
> URL: https://issues.apache.org/jira/browse/LOG4J2-1571
> Project: Log4j 2
> Issue Type: Documentation
> Components: Documentation
> Affects Versions: 2.0
> Reporter: Adam A. Koch
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> On the page https://logging.apache.org/log4j/2.0/manual/extending.html#Appenders the code example StubAppender extends from OutputStreamAppender but that class is final and cannot be extended. A better example would be great!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)