[ 
https://issues.apache.org/jira/browse/LOG4J2-428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13925791#comment-13925791
 ] 

Ralph Goers commented on LOG4J2-428:
------------------------------------

Layouts are meant to handle the formatting of messages while Appenders are the 
delivery channel.  The problem I have here is that you have intertwined these 
concepts.

The splitting of large messages could be an issue, but I think we could address 
that in a general way. I really don't like that the GELF appender has its own 
flavor of the TCP and UDP appenders. Furthermore, I see no reason why GELF 
shouldn't be allowed with other appenders, such as a FileAppender, 
FlumeAppender, etc.  So making it a Layout is the preferred way to go in my 
opinion.

> Integration of GELF Appender
> ----------------------------
>
>                 Key: LOG4J2-428
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-428
>             Project: Log4j 2
>          Issue Type: Wish
>          Components: Appenders
>    Affects Versions: 2.0
>            Reporter: Mark Paluch
>         Attachments: log4j-gelf.patch, log4j-gelf.zip
>
>
> I'd like to propose the integration of a GELF (Graylog Extended Log Format) 
> Appender into log4j2 on a basis like the flume-ng Appender.
> See https://github.com/mp911de/logstash-gelf for the code.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to