Hello Team,

Our log4j2 configuration uses *PatternLayout* and we are exploring
switching to JsonLayout for simplifying integration with ELK. I am trying
to find any performance comparison between pattern and json layouts but
couldn't find any. I could find only the JsonTemplateLayout benchmark in
the log4j-perf module.

I wanted to know:

   - Is it a reasonable thing to compare the performance of these two
   layouts?
   - Are there any existing resources comparing the performance of these
   two layouts?
   - What considerations should we make if we switch to JsonTemplateLayout?

Thank you for the help.

--Ganapati

Reply via email to