Hello,

In addition to the JSONLayout
<https://logging.apache.org/log4j/2.0/manual/layouts.html#JSONLayout>
shipped by default in Log4j 2, there is also another layout plugin that you
can render customized JSONs: log4j2-logstash-layout
<https://github.com/vy/log4j2-logstash-layout>. A couple of hours ago I
have released the v0.15 of the plugin to Maven Central. This release ships
a garbage-free implementation that makes *log4j2-logstash-layout the
fastest and only garbage-free JSON layout* plugin out there in the wild. If
you have a use case for JSON layout, you should definitely give
log4j2-logstash-layout a try. As usual, feedback is welcome.

Cheers!

Reply via email to