You would have to prove to me that GelfLayout is slower than JsonLayout. That 
would be hard for me to believe since the GelfLayout is manually constructing 
the JSON. 

Also, You cannot remove any of the GelfLayout or any of the JsonLayouts. You 
will need to replace them with logic that invokes the JsonTemplateLayout in a 
backwards compatible way as users should not have to change their 
configurations.

Ralph

> On Feb 18, 2021, at 8:10 AM, Volkan Yazıcı <volkan.yaz...@gmail.com> wrote:
> 
> As the title suggests, in accordance with the aim of reducing the
> maintenance burden, I want to propose removal of the GelfLayout from
> master, not release-2.x! Currently, JsonTemplateLayout already ships a
> template producing exactly the same output as GelfLayout; see
> GelfLayout.json template and GelfLayoutTest class. The only missing piece
> of the puzzle is compression support, which I am gonna address in
> LOG4J2-3023 <https://issues.apache.org/jira/browse/LOG4J2-3023>. Do I have
> a go for this operation? What do you think?
> 
> On the other hand, I wish we would be able to implement compression as some
> sort of filter applicable to layouts. Is such a thing possible?


Reply via email to