Re: Custom JSONLayout

2020-08-12 Thread Ralph Goers
JsonTemplateLayout hasn’t been merged to the release-2.x branch but it will be so that it can be included in the 2.14.0 release. Ralph > On Aug 12, 2020, at 7:47 AM, Carter Kozak wrote: > > Hi Naz, > > Volkan has contributed a fantastic json template layout that I expect will do > what you w

Re: Custom JSONLayout

2020-08-12 Thread Carter Kozak
Hi Naz, Volkan has contributed a fantastic json template layout that I expect will do what you want, however it has not been released yet. https://github.com/apache/logging-log4j2/pull/335 This discussion from the mailing list provides several options which may be relevant to your use case: htt

Custom JSONLayout

2020-08-12 Thread Naz S
Hi, I'm trying to use JSON layout for a logging format. When I use the default JSON Layout, I see that there are some fields which are unnecessary to me (for example, loggerFqcn, endOfBatch, etc). Then I decided to implement a custom JSON layout. But I see that JacksonFactory is not visible outsi