[ 
https://issues.apache.org/jira/browse/LOG4J2-2892?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ralph Goers resolved LOG4J2-2892.
---------------------------------
    Fix Version/s: 2.14.0
       Resolution: Fixed

Patch applied. Please verify and close.

> 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
>             Fix For: 2.14.0
>
>         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