GitHub user franzwong opened a pull request:

    https://github.com/apache/logging-log4j2/pull/141

    LOG4J2-2190 support writing JSON object in message field

    If we can make message as a Json object, user does not need to deserialize 
twice (first the whole log event, second the message field).
    Also, @JsonSerialize annotation defined in LogEventJsonMixIn prevents user 
to override the serializer.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/franzwong/logging-log4j2 LOG4J2-2190

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/logging-log4j2/pull/141.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #141
    
----
commit 2d82319333f49b2524dc08a633cac73dd61323bb
Author: Franz Wong <franzwong@...>
Date:   2018-01-16T05:56:06Z

    LOG4J2-2190 support writing JSON object in message field

----


---

Reply via email to