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

ASF subversion and git services commented on LOG4J2-2892:
---------------------------------------------------------

Commit e2ec23eea75d6e0b53dd958ca1534fb338f83635 in logging-log4j2's branch 
refs/heads/master from Ralph Goers
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=e2ec23e ]

LOG4J2-2892 - Allow GelfLayout to produce newline delimited events


> GelfLayout can't produce newline delimited events
> -------------------------------------------------
>
>                 Key: LOG4J2-2892
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2892
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Layouts
>    Affects Versions: 2.12.1, 2.13.3
>            Reporter: Jakub Lukes
>            Priority: Major
>         Attachments: kibana.png
>
>
> Hello, the GelfLayout currently generates either \0 delimiter or no delimiter 
> at all. We would like to use GELF for structured logging to files and Docker, 
> and for that we need the events to be ended with a newline.
> I propose to add an option to GelfLayout to support this, possibly named 
> eventEol to be same as in JsonLayout. I can provide a patch if this will be 
> considered a good idea.
> In case the wanted behavior can be achieved without any code change, I would 
> welcome such answer too.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to