You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by franzwong <gi...@git.apache.org> on 2018/01/16 06:04:03 UTC
[GitHub] logging-log4j2 pull request #141: LOG4J2-2190 support writing JSON object in...
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 <fr...@...>
Date: 2018-01-16T05:56:06Z
LOG4J2-2190 support writing JSON object in message field
----
---
[GitHub] logging-log4j2 issue #141: LOG4J2-2190 support writing JSON object in messag...
Posted by franzwong <gi...@git.apache.org>.
Github user franzwong commented on the issue:
https://github.com/apache/logging-log4j2/pull/141
`layouts.xml.vm` is updated
---
[GitHub] logging-log4j2 pull request #141: LOG4J2-2190 support writing JSON object in...
Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:
https://github.com/apache/logging-log4j2/pull/141
---
[GitHub] logging-log4j2 issue #141: LOG4J2-2190 support writing JSON object in messag...
Posted by mikaelstaldal <gi...@git.apache.org>.
Github user mikaelstaldal commented on the issue:
https://github.com/apache/logging-log4j2/pull/141
You should update documentation in `layouts.xml.vm`.
---