Hello!
I’m working on a project where we need to take log4j2 output and (offline)
load it into a Mongo database. We can't use a mongo appender because the
database is not available where the software is running. We could use the
log4j2's JsonLayout to have an easily parsable log format, but wo
Hello!
We are trying to run log4j 2.11.0 with a JSONLayout and async appender. We
have set the JSONLayout properties="true" but are not getting the json
properties. Without the async appender, we DO get the json properties.
With the default synchronous appender, the logs looks like this:
, {
> > -Franz
> >
> > On Sat, May 12, 2018 at 9:09 AM, Joseph Husby wrote:
> >
> >> Hello!
> >>
> >> We are trying to run log4j 2.11.0 with a JSONLayout and async appender.
> >> We have set the JSONLayout properties="true&quo
"Test",
> >"message" : "Testing: This is my toString This is my toString {}
> with curly braces with curly braces",
> >"endOfBatch" : false,
> >"loggerFqcn" : "org.apache.logging.log4j.spi.AbstractLogg