[
https://issues.apache.org/jira/browse/LOG4J2-303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13705223#comment-13705223
]
Ralph Goers commented on LOG4J2-303:
------------------------------------
No, this doesn't have anything at all to do with the XML configuration. Many
Appenders extend AbstractOutputStreamAppender because it was found to be very
flexible to do that. Layouts that return Strings are able to easily convert
those to byte arrays that can be written to the OutputStream.
If you have an example of something that worked in Log4j 1.2 I'd be happy to
look at it and see how it can be made to work in Log4j 2.
> No WriterAppender functionality in Log4j2
> -----------------------------------------
>
> Key: LOG4J2-303
> URL: https://issues.apache.org/jira/browse/LOG4J2-303
> Project: Log4j 2
> Issue Type: Bug
> Components: log4j 1.2 emulation
> Affects Versions: 2.0-beta7
> Reporter: Tom Smith
>
> I have an app that uses a log4J 1.2 style WriterAppender to write to a JavaFX
> window that so it can display the output in various ways (console, table
> etc). I can't get the same functionality with Log4j2-- Is this a deliberate
> oversight because of the xml configuration system?
--
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: [email protected]
For additional commands, e-mail: [email protected]