GitHub user cakofony opened a pull request:
https://github.com/apache/logging-log4j2/pull/124
LOG4J2-2101: MapMessage correctly handles non-string map values
Previously formatting non-string values worked, however filtering,
which uess the "get" method would fail due to MapMessage attempting
to cast values to String.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cakofony/logging-log4j2 LOG4J2-2101
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/logging-log4j2/pull/124.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 #124
----
commit 33af2479457613b0e9d1e560a38b4ad19e23d810
Author: Carter Kozak <[email protected]>
Date: 2017-11-06T18:14:36Z
LOG4J2-2101: MapMessage correctly handles non-string map values
Previously formatting non-string values worked, however filtering,
which uess the "get" method would fail due to MapMessage attempting
to cast values to String.
----
---