Chainsaw log-parsing classes

2018-01-19 Thread Joseph Husby
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

log4j2 JSONLayout with AsyncLogger not outputting properties

2018-05-11 Thread Joseph Husby
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: , {

Re: log4j2 JSONLayout with AsyncLogger not outputting properties

2018-05-11 Thread Joseph Husby
> > -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

Re: Recursive logging issue with curly braces in JSONLayout Object's toString()

2018-05-30 Thread Joseph Husby
"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