If you are frustrated by how the ootb JsonLayout handles context data, see https://issues.apache.org/jira/browse/LOG4J2-623
I've published how I worked around it here: https://github.com/johntbush/log4j2-jsonlayout
If you are frustrated by how the ootb JsonLayout handles context data, see https://issues.apache.org/jira/browse/LOG4J2-623
I've published how I worked around it here: https://github.com/johntbush/log4j2-jsonlayout