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

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

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

Merge branch 'jakluk-LOG4J2-2892'


> 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